• 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

Navigation CSS line below current page name

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 › Navigation CSS line below current page name

This topic is: resolved

Tagged: css, navigation

  • This topic has 4 replies, 4 voices, and was last updated 11 years, 9 months ago by kgshultz.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • June 5, 2014 at 2:23 pm #108207
    kgshultz
    Member

    Hi,

    If you look at my website (www.kgshultz.com) you'll see that there is a line under the navigation menu. However, the line disappears under the name of the current page. I've been looking everywhere and I can't seem to find what that is called/what controls the line disappearing. Through CSS I think I've changed the color of everything else just trying to figure out what controls the disappearance of that line 🙂 I would like the line to be solid all the way across all the time. The only thing I want to show which page you're on is the text changing color.

    If someone could point me in the right direction, it would be greatly appreciated.

    Thanks!

    http://www.kgshultz.com
    June 5, 2014 at 3:49 pm #108234
    Tony @ AlphaBlossom
    Member

    Hello,

    You'll have to add "display: block;" to your link element inside the nav. Change your .genesis-nav-menu a to this:

    
    .genesis-nav-menu a {
        display: block;
        padding: 20px;
        position: relative;
    }
    

    Have a great day!
    Tony


    Tony Eppright | http://www.AlphaBlossom.com | Follow me on twitter @_alphablossom

    June 5, 2014 at 3:53 pm #108235
    rfmeier
    Member

    Hello,

    There is padding that is pushing the link (which has a white background) over the blue line. It can be fixed within your style.css file.

    /* style.css line ~952 */
    .genesis-nav-menu a {
        color: #124E67 /* #617984; */
        display: block;
        padding: 20px;
        padding-bottom: 0; /* remove the bottom padding if the link */
        position: relative;
    }

    That should take care of the problem.


    Ryan Meier – Twitter

    June 5, 2014 at 4:04 pm #108237
    eamonmoriarty
    Participant

    At line 959 of style.css you have

    .genesis-nav-menu a:hover,
    .genesis-nav-menu .current-menu-item > a,
    .genesis-nav-menu .sub-menu .current-menu-item > a:hover {
    	background-color: #fff;
    	color: #124E67;
    }

    If you remove background-color: #fff; I think that will achieve what you want.


    Eamon Moriarty
    EM Dzine

    June 5, 2014 at 4:05 pm #108238
    kgshultz
    Member

    Excellent, thank you! I removed the padding under the link and now it looks perfect.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 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

© 2026 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