Color font in a menu

General questions pertaining to how certain issues can be resolved. This forum is closed with effect from February 2019. Please post future requests on https://github.com/sayontan/suffusion.
Forum rules
This forum is closed with effect from February 2019. Please post future requests on https://github.com/sayontan/suffusion.

1. No offensive language and no mocking
2. Please do a thorough search before you post something. Trust us, there is a high probability that the question you are asking has been asked previously.
3. No soliciting. You cannot post here soliciting bids for people offer you quotes, or even offer money to people for some work. You will be moderated if you do so. If you are looking for help, please post your request on http://jobs.wordpress.net or http://codepoet.com
4. Please be reasonable. You are getting software and support. For free. Complicated requests from a general purpose theme are not welcome and some volunteers might lose patience with you.
5. Please do your due diligence. If you posted a query and we answered with a link, take the trouble to go through the link contents.
6. Please post with complete information. Requests for help MUST be accompanied with your URL, particularly if you are asking something like "Why am I seeing a blank space?"
mulanee
Posts: 28
Joined: 25 Aug 2013, 01:24

Color font in a menu

Post by mulanee » 07 Jan 2019, 10:34

Hello,

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

Thank you.

Colin
Posts: 5066
Joined: 27 Oct 2009, 10:46

Re: Color font in a menu

Post by Colin » 08 Jan 2019, 00:08

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.

mulanee
Posts: 28
Joined: 25 Aug 2013, 01:24

Re: Color font in a menu

Post by mulanee » 08 Jan 2019, 01:39

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.

Colin
Posts: 5066
Joined: 27 Oct 2009, 10:46

Re: Color font in a menu

Post by Colin » 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.

mulanee
Posts: 28
Joined: 25 Aug 2013, 01:24

Re: Color font in a menu

Post by mulanee » 08 Jan 2019, 21:34

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

Colin
Posts: 5066
Joined: 27 Oct 2009, 10:46

Re: Color font in a menu

Post by Colin » 08 Jan 2019, 23:49

The code is not showing on your site. Do you have caching enabled, if so then turn it off and try again.

mulanee
Posts: 28
Joined: 25 Aug 2013, 01:24

Re: Color font in a menu

Post by mulanee » 09 Jan 2019, 01:32

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

Colin
Posts: 5066
Joined: 27 Oct 2009, 10:46

Re: Color font in a menu

Post by Colin » 09 Jan 2019, 02:33

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.

mulanee
Posts: 28
Joined: 25 Aug 2013, 01:24

Re: Color font in a menu

Post by mulanee » 09 Jan 2019, 07:35

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.

mulanee
Posts: 28
Joined: 25 Aug 2013, 01:24

Re: Color font in a menu

Post by mulanee » 10 Jan 2019, 07:04

I did some other changes which can be seen immediatly.
CSS has a special cache management?

Locked