Styling a specific link - CSS not working?

More
13 years 11 months ago #7360 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.

Please Log in or Create an account to join the conversation.

More
13 years 11 months ago #7362 by ced1870
Hi
I think that your code is bad try this :
Code:
li.maximenuck.item476.level1 {background:red !important;}
Ced

Joomlack Webmaster and Developer
The following user(s) said Thank You: fsjoom12

Please Log in or Create an account to join the conversation.

More
13 years 11 months ago #7365 by fsjoom12
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

Fast and powerful creation, customizable and responsive.

Read More

We have 4501 guests and no members online