Jump to content

how to apply a different css if one link is active or has a different id


bleustreak12

Recommended Posts

not exactly the thing is i have two very different menus and what i am doing is that i show the second menu only when a certain menu item is selected in menu 1(and the second menu stays shows as long as no other menu item is selected in menu 1)  so it appears that(the menu 2) it is its sub menu.

 

now as long as the item in menu 1 is selected there is styling for that item  but once i click on the item in menu 2 the menu 1 item style dissapears as it is not the one that is active.

 

i hope i am clear i have two different menus and i want it to work as if there is one main menu and one sub menu

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.