Page 1 of 3

Color font in a menu

Posted: 07 Jan 2019, 10:34
by mulanee
Hello,

Is there a way inside a menu to discriminate the different indexes by the color font?

Thank you.

Re: Color font in a menu

Posted: 08 Jan 2019, 00:08
by Colin
You can probably do this with some custom CSS.

To give you some more detailed suggestions we would need your url and exactly which items on your menu that you want to change the colour of.

Re: Color font in a menu

Posted: 08 Jan 2019, 01:39
by mulanee
The link:
https://clemelis.net

I'm talking about the top menu Galeries/Goodies/..../Login

I would like to discriminate /Login by changing the font color or size or using italic or bold...

Thank you.

Re: Color font in a menu

Posted: 08 Jan 2019, 13:43
by Colin
It is already bold so we will need to change the colour and the font size. So give this a try

Code: Select all

li #menu-item-1452 a {font-size:20px; color: #ff0000;}
Put it in Suffusion custom CSS or in Appearance custom CSS.

Re: Color font in a menu

Posted: 08 Jan 2019, 21:34
by mulanee
Colin wrote:
08 Jan 2019, 13:43
It is already bold so we will need to change the colour and the font size. So give this a try

Code: Select all

li #menu-item-1452 a {font-size:20px; color: #ff0000;}
Put it in Suffusion custom CSS or in Appearance custom CSS.
I cannot make it working even after saving:

Image

Image

Re: Color font in a menu

Posted: 08 Jan 2019, 23:49
by Colin
The code is not showing on your site. Do you have caching enabled, if so then turn it off and try again.

Re: Color font in a menu

Posted: 09 Jan 2019, 01:32
by mulanee
I don't know very well how to empty the cache.

I did it with WP super cache with no effect on the menu appearance

Image

Re: Color font in a menu

Posted: 09 Jan 2019, 02:33
by Colin
Your caching is still enabled and so the code changes are not being reflected in your site. Until you get rid of the caching you will not be able to see the changes. I am sorry I am not familiar with wp super cache, I just know what is causing your problem. This plugin has really compressed the other code on the page to make it virtually unreadable.

Re: Color font in a menu

Posted: 09 Jan 2019, 07:35
by mulanee
Your caching is still enabled
I'm afraid I don't know how to do to empty the cache. I thought the plugin could do it.

Re: Color font in a menu

Posted: 10 Jan 2019, 07:04
by mulanee
I did some other changes which can be seen immediatly.
CSS has a special cache management?