Jump to content
Bonny

[Solved] Change Color of a Single Menu Item in DMS

Recommended Posts

Bonny

Hi, I want to change the text color of just one of my menu items. 

I've added this to the custom css area and it didn't work. I tested a background color, and that worked. But the general text color does not work. 

.menu-item-887 {
  color: #76881D !important;
}

Site is live at faircredit.org. Trying to change the color of the "donate" menu item.

Thanks everybody.

B

Share this post


Link to post
Share on other sites
Andrew

your CSS rule might need to be more specific to the link.. also try not to use important if possible.... try this: 

#page .menu-item-887 a{

color: #76881D;
}

 

nice site btw :)

Share this post


Link to post
Share on other sites
bonnysteele@gmail.com

Hi Andrew!

Thanks for your response and compliment on my site. 

I actually figured out a different way to do it. I set a custom class in the custom code area and assigned the class to this menu item in the menu configuration area. It worked great!

 

Thanks again.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×