Change font colour for subcategories - by fredwerk

This topic has 9 replies, 3 voices, and was last updated 9 years, 8 months ago ago by Robert Hall

  • Avatar: fredwerk
    fredwerk
    Participant
    August 16, 2014 at 17:47

    Hi,

    The site has subcategories in the menu, when I hover them, the font colour changes to the same colour to the menu one (currently red).

    How can I have subcategories font changed to a different colour?

    Many thanks,

    8 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    August 16, 2014 at 23:40

    Hello,

    Please provide us with the link to your site.

    Regards,
    Eva Kemp.

    Avatar: fredwerk
    fredwerk
    Participant
    August 17, 2014 at 10:38

    Hi,

    http://dianascraftycakes.com/

    If you go over “Crafty Cakes” in the menu and you will see a submenu.

    Avatar: Eva
    Eva Kemp
    Support staff
    August 17, 2014 at 16:30

    Hello,

    Please add this code into custom.css file:

    .main-nav .menu > li .nav-sublist-dropdown .container > ul > li a:hover {color: your_color_value;}

    How to create custom.css you can watch here.

    Regards,
    Eva Kemp.

    Avatar: fredwerk
    fredwerk
    Participant
    August 17, 2014 at 16:47

    Hi,

    I have added this line:

    .main-nav .menu > li .nav-sublist-dropdown .container > ul > li a:hover {color:#18b29d;}

    to the custom.css but it does not work.

    UPDATE: sorry, for some reason I had to put it at the top instead of below the other code I added to the file and now it works fine.

    Thank you!

    Avatar: fredwerk
    fredwerk
    Participant
    August 17, 2014 at 16:51

    However when I scroll down the page, I have the menu that pops up at the top and the submenu is back to red colour. I would like this to be changed. What would the code line be?

    Avatar: Eva
    Eva Kemp
    Support staff
    August 17, 2014 at 21:06

    Hello,

    Please use this code:
    .fixed-header .menu > li .nav-sublist-dropdown .container > ul > li a:hover {color: #18b29d; }

    Regards,
    Eva Kemp.

    Avatar: fredwerk
    fredwerk
    Participant
    August 18, 2014 at 08:23

    Many thanks, this works great!

    Avatar: Robert Hall
    Robert Hall
    Support staff
    August 18, 2014 at 08:32

    Hello,

    You’re welcome!
    If you have any questions please feel free to contact us.

    Regards,
    Robert Hall.

  • Viewing 9 results - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.