• 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

Removing Border Right From Last Nav Item

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 › Removing Border Right From Last Nav Item

This topic is: resolved
  • This topic has 3 replies, 2 voices, and was last updated 11 years, 2 months ago by Tony @ AlphaBlossom.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • May 13, 2014 at 11:28 am #104937
    jessicakstudio
    Member

    I am trying to remove the border-right from my last Nav bar item.

    .genesis-nav-menu > .last > a:after {
    border-right: solid 1px #FFFFFF !important;
    }

    Is what I am trying to use now, however it is not working for me.

    Any insight would be much appreciated.

    Thanks,
    Jessica

    http://k-fancy.com/
    May 13, 2014 at 12:23 pm #104952
    Tony @ AlphaBlossom
    Member

    Hello,

    You can add this to your style.css file:

    
    .nav-primary  .genesis-nav-menu > li:last-child > a {
        border-right: none;
    }
    

    I'd add it after ".genesis-nav-menu > .menu-item > a" around line 973.

    I'd recommend changing ".genesis-nav-menu > .menu-item > a" to border-left and using li:first-child instead, because of slightly better browser support:

    
    .genesis-nav-menu > .menu-item > a {
        border-left: 1px solid #000000;
        text-transform: uppercase;
    }
    
    .nav-primary  .genesis-nav-menu > li:first-child > a {
        border-left: none;
    }
    

    Have a great day,
    Tony


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

    May 13, 2014 at 12:47 pm #104957
    jessicakstudio
    Member

    Thanks Tony! It worked like a charm! 😉

    May 13, 2014 at 12:50 pm #104958
    Tony @ AlphaBlossom
    Member

    Awesome Jessica, glad I could help!


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

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

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