-
AuthorPosts
-
June 29, 2015 at 2:55 pm #465866
Hey Kriesi
I’ve been trying to search everywhere, but can’t find a solution for my problem. When I use a blog post content element to show previews from a certain category, the header’s color is the same as an h2 header. I want to change the blog posts title color, but not the h2 one. Example here:
“Nyheder” is an h2 header, but the title below (“Ny medlemsfordel..”) is just the title of the blog post it refers to. Can I somehow change the color of the blog post title, without doing it to all h2 headers? Hope it makes sense.
June 30, 2015 at 1:55 pm #466401Hi steffenhn!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
h2.post-title.entry-title { color: orange; }
If that does not help, please post the link to your website
Regards,
YigitJune 30, 2015 at 2:48 pm #466469Hey Yigit
Thanks for your response. Putting the code you provided in Quick CSS fixed it, but when I do it, all other H2 headings become “standard”, meaning it loses the green color I gave them. Example:
As you can see, the orange is from your code, but the text “nyheder” is now black, although it’s set to the green color from before, when I look inside advanced styling. Do you know why that happened? I hope you can figure it out without a link to the site, as it’s not yet online and only placed locally.
June 30, 2015 at 2:54 pm #466479Hi!
We need to inspect elements to find a better solution but for now, please change the code to following
h2.post-title.entry-title { color: orange !important; } h2 { color: green !important; }
Regards,
YigitJune 30, 2015 at 3:56 pm #466539That worked, thanks! I’ll get the site up and running, so you can inspect it as fast as possible.
June 30, 2015 at 3:57 pm #466544Hi!
You are welcome, we are always happy to help :)
For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)Regards,
Yigit -
AuthorPosts
- The topic ‘H2 header in blog post preview – change color?’ is closed to new replies.