Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search


  • Posts

  • Joined

  • Last visited

Posts posted by ScottB1570048503

  1. I found a work around that involves adding the page in the drop down list, but here's what I did.I edited the CSS as follows:

    .folder:nth-child(2) .subnav .collection:nth-of-type(1) {

    What we have here is a way to access the first link in a drop down list, and make it disappear.

    nth-child() allows you to change the CSS of the nth child element of whatever element you are accessing, in this case, the .folder class that is used for navigation folders. You'll have to take a look at the source page to make sure you understand which elements you need to access.

    In this case, I accessed the first instance ( nth-of-type(1) ) of the .collection class within the .subnav class, and changed the visibility to hidden, and the display to none.

    This way you could, for example, place a page called Cars within a folder called cars as the first sub page, then make the sub page invisible. The Folder still links to the invisible page, but now you don't visibly have a folder and page with the same name.

    Hope this Helps!

  • Create New...