Forums
Home / Theme: Avant / How can I change the title color?
(@valentinauliviers)
6 years, 3 months ago
How can I change the title color?
(@geoffreyshilling)
Volunteer Moderator
Can you please post a link to an example page or post?
https://bodyspiritflow.com/
You should be able to add the following code to the “Additional CSS” section in the customizer, changing “red” to whatever color you want to use.
To change the title on individual pages:
.entry-title { color: red; }
To change the main site title (it looks like the theme is using !important, so you may need that to override its settings):
.site-title a { color: red !important; }
Hi, thank you, what if I do not want it red? I do not want it to be red. I would like to be able to choose a color
No worries, red was just an example. You can use any color you want, just replace the ‘red’ with whatever you want to use. Below are a few examples:
Using a named color:
.entry-title { color: green; }
Using a hex code:
.entry-title { color: #0073aa; }
Using RGB:
.entry-title { color: rgb(0,115,170); }