Change the font size of posts' title
-
Hi, guys. I’ve been trying to change the font size of my posts title using the CSS editor but it didnt work.
I tried the codes below
.entry-title h1 {font-size: 70px;}
.entry-header h1 {font-size: 70px;}
Can someone help me?
My site is cafecomite.com
The blog I need help with is: (visible only to logged in users)
-
Hello
Please try the below css code:
for archive post title add this:
.masonry .post h2.entry-title a{ font-size:33px; }For single post title add this:
.single h1.entry-title{ font-size:70px !important; }Regards:
-
It works very well on wide screen. But when in mobile the font is too big. Can i fix it?
-
Hello
For mobile devices please try the below CSS code:
For archive post title add this:
@media screen and (max-width:680px){ .masonry .post h2.entry-title a{ font-size:13px; }}& for single post title add this:
@media screen and (max-width:680px){ .single h1.entry-title{ font-size:30px !important; }}Regards
-
- The topic ‘Change the font size of posts' title’ is closed to new replies.