Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Mysterious double line showing up

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #209811
    myriahdesigner
    Participant

    Hello,

    I am having a weird issue where when I add a border to my navigation, a weird double line shows up.
    Here is the website I am working on: http://lodging.visittrivalley.com/
    As you will see, there is a border-top and a border-bottom applied to the #menu-new-menu div, and it is showing up as this weird double line on the ends. I tried to see if there were some white background colors or shapes somewhere that are causing this, but I can’t find anything. And I also tried once moving the borders up one dive to the .main-menu class but it looks the same. Can someone please figure this out for me! Thank you!

    #209812
    Beverleyh
    Participant

    You have a weird doubling up of nav and ul elements that look like this;

    <nav class="wrapper main-menu" role="navigation" itemscope="itemscope" itemtype="http://schema.org/SiteNavigationElement">
        <ul id="menu-new-menu" class="menu">
            <div class="no-print animated main-menu-container">
                <nav class="wrapper main-menu" role="navigation" itemscope="itemscope" itemtype="http://schema.org/SiteNavigationElement">
                    <ul id="menu-new-menu" class="menu">
    

    so the top and bottom border applied to ‘#menu-new-menu’ double-up too (there are 2 ul elements with id ‘#menu-new-menu’)

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.