Nested Menu text link color

User 2054663 Photo


Registered User
21 posts

Hello. I've been playing with SDv3 and while I love it, I've been running into an issue with text link colors in a nested menu. There's a quick tip on the bottom of this CoffeeCup article - https://www.coffeecup.com/help/articles/create-a-nested-menu-from-scratch/, but I'm still having problems with it. Like the tip said, on the Desktop layout of the nested menu, the text link will initially show the color I specified on the "hover state", but will them immediately change to the default blue. I guess I don't understand the solution of "applying another state". Any help would be appreciated.

If you want to see what's happening, just hover over the menu on a Desktop - https://hamptonpresbyterian.net/new/

Thank you for your assistance!
User 2903050 Photo


Registered User
260 posts

Hi David. Is it on the dropdowns on desktop. Sorry not at my computer currently. I will post the fix tonight when at the computer. The issue is the link is defaulting back to foundation blue.
Kind regards Phil
User 379556 Photo


Registered User
1,539 posts

Migh this post and the ones that follow it be relevant?

Frank

PS. Phil's post above appeared while I was typing this one - but the link may prove helpful. FC
User 122279 Photo


Senior Advisor
14,474 posts

I just had a similar problem with a submit button, and I solved it by giving the button the extra class 'override', and then I wrote this bit of css and added it to the head section in Page manager:
<style>
.override:link, .override:visited, .override:hover, .override:focus, .override:active {background-color: #670001; color: #eff1dc; }
</style>

Normally you don't give any styling to 'visited' and it is not globally supported AFAIK, but to get the same colour throughout, I included it.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 2903050 Photo


Registered User
260 posts

<style>
.dropdown.menu > li.is-active > a { background: transparent; color: #f84b0f; }
</style>

Hi David, if you add this line to your head in your page manager it should resolve the hover color red on dropdowns.

Kind regards, Phil
User 2765857 Photo


Registered User
614 posts

Phil Dias wrote:
<style>
.dropdown.menu > li.is-active > a { background: transparent; color: #f84b0f; }
</style>

Hi David, if you add this line to your head in your page manager it should resolve the hover color red on dropdowns.

Kind regards, Phil

Hi Phil would that also work for me? On hover I still get a "blue" when hovering over the sub links, added the second override class like you mentioned earlier and still have it not right was going to just leave it as is.
Ray
Ray aka Kreations
Since 1994 Chocolate bar wrappers for all occasions.
Since 1972 helping clients help "Discover Their Dream Vacation"
User 2903050 Photo


Registered User
260 posts

Hi Ray, when hovering over the dropdown the top link goes back to default blue when going over the sub menu then yes this should sort it out. Just change the color: # ; to what you desire as its red in the example above for David.

Let me know if any problems.

Regards
User 2765857 Photo


Registered User
614 posts

Phil Dias wrote:
Hi Ray, when hovering over the dropdown the top link goes back to default blue when going over the sub menu then yes this should sort it out. Just change the color: # ; to what you desire as its red in the example above for David.

Let me know if any problems.

Regards


Thank you Phil will do that I appreciate your help.

Regards, Ray
Ray aka Kreations
Since 1994 Chocolate bar wrappers for all occasions.
Since 1972 helping clients help "Discover Their Dream Vacation"
User 2765857 Photo


Registered User
614 posts

Phil Dias wrote:
Hi Ray, when hovering over the dropdown the top link goes back to default blue when going over the sub menu then yes this should sort it out. Just change the color: # ; to what you desire as its red in the example above for David.

Let me know if any problems.

Regards


Thank You Phil :D That css style took care of it and no more Blue - I appreciate the help very much. Enjoy the weekend.
Ray
Ray aka Kreations
Since 1994 Chocolate bar wrappers for all occasions.
Since 1972 helping clients help "Discover Their Dream Vacation"

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.