Forums

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

Home Forums CSS Can’t seem to get third sub level to fly out

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #43638

    Can’t seem to get thrird sub leval to fly out my first attempt I have got second level working but not third.

    .box-category > ul > li ul > ul{
    display: none;
    }
    .box-category > ul > li > ul a.active {
    font-weight: bold;
    }
    .box-category > ul > li a.active + ul + li{
    display: block;
    }
    .box-category > ul > li ul > li > ul {
    padding: 5px 5px 0px 10px;
    }
    .box-category > ul > li ul > li > ul > a {
    text-decoration: none;
    display: block;
    color: #656565;
    font-size:11px;
    }
    .box-category > ul > li ul > li > ul > ul >a.active {
    font-weight: bold;
    }

    #129624
    Merri
    Participant

    Nothing in given code deals with third level lists. This is also very confusing:

    `.box-category > ul > li a.active + ul + li`

    On right side it points to a list element that follows a ul element. That shouldn’t ever happen in HTML syntax, so there is clearly something wrong there. The HTML for the above could look something like:

      (buggy code tags…)

      #129625

      To @Merri and @Melindra

      Thanks for comment

      Got my second attempt working my website is a bit messy at the moment just getting my layout ready I am custom designing my own theme for my computer store few more weeks work yet to do on it line few things up etc. Using open cart default template I am working off and making my own style.

      http://mywebsiteoc1551.mwbcomputers.com.au/index.php?route=common/home

      #129628
      Paulie_D
      Member

      I keep this around which may be of assistance: http://codepen.io/Paulie-D/pen/zegKE

      #129629

      @Paulie_D

      Thanks for that I have worked it out if you look at the second category menu on my left side of web site one that is semi black got it working lots of trial and error http://mywebsiteoc1551.mwbcomputers.com.au/index.php?route=common/home

      Web design in rough stage at the moment lot of testing at changes to do that’s why its in a sub domain thinking about changing the links at top above top menu but don’t know what look should go for.

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