• On a website I am working on, there is a white line in the custom menu widget. I’m pretty positive it is just a line break, and isn’t a problem, but I’d like to remove it. I’m not using a title, so it doesn’t look good. It is just a white line above my page links.

    I checked “nav-menu” and “nav-menu-template” in wp_includes to see if I could find the right code to remove, but couldn’t.

    Could someone point me to where that code is located?

    Many thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • link to your site?

    Thread Starter KB

    (@hardaka)

    Oh, the website isn’t live yet. On a virtual server.

    Here is the code though:

    Side bar

    <div id="sidebar">
    	<ul>
    <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar() ) : else : ?>
    
        <?php endif; ?>
    </ul>
    	</div>
    	<div style="clear:both;"></div>

    And this is the source code:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Thread Starter KB

    (@hardaka)

    Whoops, 11 lines, so I’ll just cut some out.. not sure if I did that codebin thing right.

    <div id="sidebar">
    	<ul>
    <li id="nav_menu-3" class="widget widget_nav_menu"><h2 class="widgettitle"> </h2>
    <div class="menu-main-page-container"><ul id="menu-main-page" class="menu"><li id="menu-item-94" class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-2 current_page_item menu-item-94"><a href="https://localhost/wordpress/about">About</a></li>

    The line is right above the About. So something in those classes I think is causes it? Found the css folder, but haven’t been able to find any of the code that could be causing the line yet.

    So help is still appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘White line in custom menu.’ is closed to new replies.