• 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

Strange lines in menu i can't get rid of

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 › Strange lines in menu i can't get rid of

This topic is: resolved

Tagged: menu

  • This topic has 4 replies, 3 voices, and was last updated 6 years, 6 months ago by Ron.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • October 30, 2018 at 9:07 am #224070
    Ron
    Member

    Hello all,
    I'm using the News Pro theme, and I want to change the menu background to white, this is not the problem, but little lines show up between the menu links. This happens with a fresh install, with no plugins or modifications other than changing the background from #000 to #fff. I finally found the css that controls the color of these obtrusive lines, it is:

    body {
    background-color: #fff;
    color: #444;
    font-family: verdana, sans-serif;
    font-size: 16px;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.625;
    }

    I can't change this color to white, as it also controls the color of the text on the page.
    I need to find out what is causing these lines to appear. Please have a look at the site to see what I'm talking about, little black lines between each link in the menu.
    Site: https://www.roomsdelivered.com/ocean/

    Any help is greatly appreciated, I've beat my brains out 🙂
    Thanks!

    https://www.roomsdelivered.com/ocean/
    October 30, 2018 at 9:45 am #224071
    Victor Font
    Moderator

    Using the browser's built-in inspection tool, you can see extra characters inserted between each menu item's closing li element and the opening li element for the next item. There should never be any characters inserted between li elements. This is not coming from Genesis or WordPress.

    I can see that you are using extra plugins to create your menu. It's most likely a plugin issue or could even be a caching issue. I would disable the extra plugins to see if the problem goes away.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    October 30, 2018 at 11:11 am #224079
    andytc
    Participant

    On Line 1194 of style.css in the child theme news-pro

    /* Primary Navigation  */
    .nav-primary {
     border-bottom: 0px solid #0093cd;
     text-decoration: underline;
    }

    Change it to -

    /* Primary Navigation  */
    .nav-primary {
     border-bottom: 0px solid #0093cd;
     text-decoration: none;
    }

    text-decoration:underline is creating those lines.

    October 30, 2018 at 9:40 pm #224085
    Ron
    Member

    andytc, A million Thank You's :-). So simple, and I did search the style sheet several times with Notepad ++ for "underline" because I suspected this, It said "Can't find the text "underline"", and sadly I believed it!

    I'am sitting here looking at it (just where you said it was) and Notepad ++ is still telling me it can't find it, amazing.

    Time for a reinstall, bug report or a different editor.

    Anyway, that fixed it, yea! Thanks Again!

    October 30, 2018 at 9:44 pm #224086
    Ron
    Member

    Victor, Thanks for chiming in, there was a css issue causing the immediate problem. I'm using WP Clips menu extension, which maybe causing the character problem you state. I'll look into this, thank you for bringing this to my attention. 🙂

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Strange lines in menu i can't get rid of’ is closed to new 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