CSS Help please? How do I remove text shadow in menu please?

Community Forums Forums Design Tips and Tricks CSS Help please? How do I remove text shadow in menu please?

This topic is: resolved

Tagged: , , ,

This topic contains 6 replies, has 3 voices, and was last updated by  leannemorrison 1 year, 7 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #5680

    leannemorrison
    Participant
    Post count: 21

    Hi, I am nearly there!  I would appreciate it if someone with CSS knowlege could help me out here please.

    Hi, I am using Genesis + Production theme, and have my test site set up here http://clientsites.jonmorrison.com.au.  At my clients request I have had to change the background colours and text colours of the menu (I think it is the secondary menu), but now it is coming up with ghosted text.  I assume this is coming from the “text-shadow” CSS instructions.

    I have gone thru most of the header section of the stylesheet and tried

    deleting the text-shadow instructions completely
    changing them to text-shadow: none;  (which they are currently set at)

    but the ghosting still appears.

    Can anyone help please?  I don’t know a lot about CSS but can generally find what I am looking for on the stylesheet if someone is specific enough about where I need to go and what I need to do.

    Many thanks in advance

    Leanne

    #5682

    theKatrinaM
    Participant
    Post count: 16

    I’m not sure what you are referring as far as a shadow effect but have you check the hover css, as in  transform:none; ?


    “People are only supposed to believe the legends not understand them.” Norman Collins
    Design | Blog

    #5685

    leannemorrison
    Participant
    Post count: 21

    Hi Katrina, thanks for your quick response.  The main menu items (for all pages except the one the user is currently on) seem to have double typing or ghosting of the text (like you are seeing double or blurry text) like in a misprinted newspaper page.

    Do you have any idea of exactly where I should add  “transform: none” please?  I can’t see any sections that specifically relate to hover, there are many mentions of it throughout the stylesheet.  I’ve tried it in all the obvious places in the header section of the stylesheet, but it has not made any difference.

     

    Thanks, Leanne

    #5698

    theKatrinaM
    Participant
    Post count: 16

    My coding is a bit difficult to understand but this should give you a general idea on the hover issue


    .menu-primary li a:active,
    .menu-primary li a:hover,
    .menu-primary .current_page_item a,
    .menu-primary .current-cat a,
    .menu-primary .current-menu-item a, {
    background-color: #fff;
    color: #b2c802;
    }

    I hope this helps
    text-transform: none;


    “People are only supposed to believe the legends not understand them.” Norman Collins
    Design | Blog

    #5708

    leannemorrison
    Participant
    Post count: 21

    Thanks Katrina, I tried what you sent i.e.

    .menu-primary li a:active,

    .menu-primary li a:hover,

    .menu-primary .current_page_item a,

    .menu-primary .current-cat a,

    .menu-primary .current-menu-item a,

    .menu-secondary li a:active,

    .menu-secondary li a:hover,

    .menu-secondary .current_page_item a,

    .menu-secondary .current-cat a,

    .menu-secondary .current-menu-item a,

    #header .menu li a:active,

    #header .menu li a:hover,

    #header .menu .current_page_item a,

    #header .menu .current-cat a,

    #header .menu .current-menu-item a {

    background-color: #fff;

    color: #b2c802;

    }

    and then added in

    text-transform: none;

    at the end before the final bracket and it works fine on my desktop computer.  However, on my iPad, it makes the text in the menu for  the current page lower case, when it should be uppercase.  Any thoughts?

    Thanks again, Leanne

    #5730

    John
    Participant
    Post count: 155

    Leanne,

    I think what you’re seeing that looks like text shadow is actually your browser distorting the font that you’re using for the menu. That happens sometimes, especially with web-based fonts like Google Fonts, and in some browsers more than others. If you increase the font-size from 14px to 15px I think you’ll get the result you’re looking for.

    Adding this to the end of your style.css file should do the trick:

    div .menu-primary a,
    div .menu-primary a:visited,
    div .menu-secondary a,
    div .menu-secondary a:visited,
    #header .menu a,
    #header .menu a:visited {
    font-size: 15px;
    }

    John


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google ;)

    #5875

    leannemorrison
    Participant
    Post count: 21

    Thanks for that John.

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.