Tagged: x
-
AuthorPosts
-
March 2, 2017 at 4:38 am #1391650
nicolaticolaParticipantHi Support,
I’m trying to add in different menu hover colours for both the header and footer menu.
i.e menu items – Venture = hover colour #ffff28, Innovate = hover colour #98e9fe etc.
I’ve looked for ‘accent’ under >edit category, but this seems to have disappeared in my version (I’m up to date).
Could you help me with this?
Thanks, Nikki
March 2, 2017 at 6:07 am #1391710
DarshanaModeratorHi Nikki,
Thanks for writing in! To assist you with this request, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
March 2, 2017 at 9:46 am #1391993
nicolaticolaParticipantThis reply has been marked as private.March 2, 2017 at 11:38 am #1392125
Nabeel AModeratorHi again,
Thank you for providing the credentials. You can do this by using menu item ids, for example for the first one, add the following code in your Customizer via Appearance > Customize > Custom > Edit Global CSS:
#menu-item-26 a:hover { box-shadow: inset 0 4px 0 0 #ffff28; } #menu-item-26 a:hover span { color: #ffff28 !important; }Similarly use menu item ids and change the colors for rest of the menu items, you can find out menu item id by inspecting the element (see attached)
March 2, 2017 at 11:57 am #1392149
nicolaticolaParticipantThank you, Nabeel.
That worked perfectly.
One more question… When you click on a menu item, and into a category then the colour remains the colour selected in the theme, rather than the new hover colour (image attached).
Is there a way of changing this so that the colours follow through?
Thanks, again.
March 2, 2017 at 1:58 pm #1392327
JadeModeratorHi Nicola,
I can’t seem to replicate what you are describing.
When I click on a menu item, the text color seems to match the hover colors.
Kindly try to clear your browser cache and reload the page.
Thank you.
March 3, 2017 at 3:18 am #1393083
nicolaticolaParticipantHi Jade,
Thanks for the reply.
The text colours do change when hovered over… but when I’m in a category the menu colour doesn’t sit as the hover colour. I’ve attached two images – one where I’m hovering, and one where I’m not. The colour sets back to the colours that are set in customizer…
Is that a way to set it so that the colours follow through?
Thanks, Nikki
March 3, 2017 at 4:05 am #1393116
Paul RModeratorHi,
You need to add the current menu item in your css code.
eg.
#menu-item-23 a:hover, #menu-item-23.current-menu-item a { box-shadow: inset 0 4px 0 0 #98e9fe; } #menu-item-23 a:hover span, #menu-item-23.current-menu-item span { color: #98e9fe !important; }Kindly do the same for others.
Hope that helps.
March 3, 2017 at 4:59 am #1393138
nicolaticolaParticipantThis worked great.
Thanks for the brilliant support!
March 3, 2017 at 8:37 am #1393308
RahulModeratorGlad we were able to help you out and thanks for your kind words. 🙂
Let us know if we can help with anything else.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1391650 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
