• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

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

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

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

This topic is: resolved

Tagged: css, help, menu, text-shadow

  • This topic has 6 replies, 3 voices, and was last updated 10 years, 1 month ago by leannemorrison.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • December 17, 2012 at 12:03 am #5680
    leannemorrison
    Member

    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

    December 17, 2012 at 12:11 am #5682
    theKatrinaM
    Member

    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

    December 17, 2012 at 1:05 am #5685
    leannemorrison
    Member

    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

    December 17, 2012 at 3:03 am #5698
    theKatrinaM
    Member

    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

    December 17, 2012 at 4:30 am #5708
    leannemorrison
    Member

    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

    December 17, 2012 at 7:12 am #5730
    John
    Participant

    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 😉

    December 17, 2012 at 11:08 pm #5875
    leannemorrison
    Member

    Thanks for that John.

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble