Jump to content
Sign in to follow this  
jkskovgaard

How do I change topmenu text hover color?

Recommended Posts

jkskovgaard

Hi! I can't figure out how to change the hover color of the text in the top (primary) menu. I've tried different custom css solutions suggested in threads, but no luck. When I look in Firebug, it looks like the new custom code is overruled - can that be true? Any help - a bit of good code? Here's the site I'm working on: http://kmg.pressmoo.com/

Share this post


Link to post
Share on other sites
Rob
No luck changing it in Design Control? Dashboard > PlatformPro > Design Control

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
jkskovgaard
Have tried. Can't find the control I'm looking for.

Share this post


Link to post
Share on other sites
Rob
I still think that in Design Control, changing the colors in some of the settings is better than writing custom code or styling. Before you go to the extreme, please try tweaking some of those color settings to see if you get a change in the hover. I tried several combinations on my site and did achieve a hover effect.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
jkskovgaard
It's only possible to change the "non hovering" text color within Design Control?

Share this post


Link to post
Share on other sites
Jenny
With PlatformBase active, you can place the following in your base.css file or in the custom CSS area in the PlatformPro admin panel. Hover color: [code]ul#menu-main.main-nav a:hover { color: #4b857a; background-color:#e8c8d0; }[/code] Active color: [code]ul#menu-main.main-nav a:active { color: #4b857a; background-color:#e8c8d0; }[/code] Keep in mind "color" is the text color and "background-color" is pretty self-explanatory. Change the color codes to suit your needs.

Jenny :: Web designer at Simple Mama (follow me at @simplemamacom)

Check out Share Me, a social sharing add-on for DMS that is super simple to set up.

Share this post


Link to post
Share on other sites
jkskovgaard
I tried adding your code to the style sheet (Editor: PlatformBase: Stylesheet (style.css)) but it doesn't work. Even tried adding a !important, but still nothing. I must be doing something wrong? Hope you can help some more, mama!

Share this post


Link to post
Share on other sites
[Deleted User]
Try this: [code].main-nav li a:hover{color:red !important;}[/code] (Obviously change "red" to whatever color you want ; )

Share this post


Link to post
Share on other sites
jsgreenbaum
When I activate my drop-down menu on the main navigation, the navigation becomes the same color as my page background. I tried inserting the custom css you suggested, but it's not changing. (fyi... when the drop-down menu is not activated, I have no background color on the navigation.) Any suggestions?

Share this post


Link to post
Share on other sites
kastelic
Do you have the base theme activated? Also, when you have dropdown navigation enabled, the classes will change a bit, so we need to know which way you are going to have it.

Share this post


Link to post
Share on other sites
jsgreenbaum
No, I don't have the base theme activated because I didn't want to do a lot of custom code. I do want to have dropdown navigation enabled... is there any way to fix the problem without activating the base? Maybe through the custom code box in the administration area?

Share this post


Link to post
Share on other sites
catrina
You can enable dropdown navigation in PlatformPro Settings > Header And Nav. Once you've enabled it, we can determine what would be the right CSS since the classes will have changed.

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
jkskovgaard
Thank you, lynnkate - your bit of code did the trick!

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

Sign in to follow this  

×