Support Center
Visit Demo
License manager
Buy @ envato
toggle menu
Categories
Discussions
Activity
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Activity
Sign In
·
Register
×
Home
›
Theme support
CSS targeting for Blog Fonts
sivanandha
April 2020
in
Theme support
I want the Heading and paragraph fonts style for the Blog to be different from the rest. How can i target the blog style specifically?
Comments
Pablo
April 2020
Hello,
As I remember, the single post could be recognizable by the body class.
Just provide the: body.single-post before your css target.
Thanks
sivanandha
April 2020
Thats it. it worked.. thanks
sivanandha
April 2020
edited April 2020
There is a problem with this approach though. the font is applied to menu, footer, and even the copyright section is impacted. any way i can avoid that?
for example
https://vrikshahomeware.com/why-should-you-choose-copper-utensils/
Pablo
April 2020
You have to tell the CSS code more 'deeper' target.
If you want to change it only for elements in content, then provide body.single-post #Content before css target.
Thanks
sivanandha
May 2020
thank you.
Sign In
or
Register
to comment.
Comments