Kunena Menu
Styling a specific link - CSS not working?
13 years 11 months ago #7360
by fsjoom12
Styling a specific link - CSS not working? was created by fsjoom12
I am enjoying the versatility of MaxiMenuCK!
I need to style two of my menu links for a specific effect.
However, when I try to address them via CSS, nothing happens. I think there must be something about how the item classes are specified.
Here is what an inspection of the DOM tells me the element is:
li class="maximenuck item476 level1 "
But if I try to style it with a CSS rule such as:
li.maximenuck item476 level1 {background:red !important;}
It does not change the color.
Puzzling.
I need to style two of my menu links for a specific effect.
However, when I try to address them via CSS, nothing happens. I think there must be something about how the item classes are specified.
Here is what an inspection of the DOM tells me the element is:
li class="maximenuck item476 level1 "
But if I try to style it with a CSS rule such as:
li.maximenuck item476 level1 {background:red !important;}
It does not change the color.
Puzzling.
Please Log in or Create an account to join the conversation.
13 years 11 months ago #7362
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Styling a specific link - CSS not working?
Hi
I think that your code is bad try this :
Ced
I think that your code is bad try this :
Code:
li.maximenuck.item476.level1 {background:red !important;}
Joomlack Webmaster and Developer
The following user(s) said Thank You: fsjoom12
Please Log in or Create an account to join the conversation.
13 years 11 months ago #7365
by fsjoom12
Replied by fsjoom12 on topic Styling a specific link - CSS not working?
Yes, that was the problem. Thank you!
Please Log in or Create an account to join the conversation.
Time to create page: 0.182 seconds




