Announcement

Collapse
No announcement yet.

Adding a css class to a specific navigation li

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Adding a css class to a specific navigation li

    Hi All,

    I am upgrading an old actinic that was using the old javascript left menu for the sections etc. We ammended the javascrip such that a couple of specific sections has a css class inserted into the <li> and then had a different color etc in the CSS

    Now, bringing this navigation up to date and taking it out of the JS tree etc, we now have a lovely list for the navigation.

    But how can I do the same, and insert a specific class="section3" into the <li> for some of the top sections in the navigation?

    #2
    Nevermind

    Figured it out.

    I added a variable to the Section called SectionNumber - and then included this variable in the navigation code and took it from there.

    Comment

    Working...
    X