-
AuthorPosts
-
October 6, 2020 at 5:09 pm #1250887
Hi,
Should the following code added to your custom.css work when you want to change the font layout of your blog post content?
.single .template-blog p {
line-height: normal !important;
font-size: small !important;
}Thank you,
DimitriOctober 6, 2020 at 9:33 pm #1250976Hey DimitriMTM,
Could you please give us a link to your website, we need more context to be able to help you.
Best regards,
VictoriaOctober 6, 2020 at 10:52 pm #1250998Hi Victoria,
Thanks for your quick reply.
See the requested info the private content. Tried adding some code to the customs.css but this doesn’t have the expected effect.
When I change adhoc the font-size of line-height with Chrome, I do see the difference.Cheers,
DimitriOctober 7, 2020 at 4:27 pm #1251186BTW also tried to ad the code to the Quick CSS Enfold field but doesn’t seem to work either.
Thanks, D
October 8, 2020 at 5:11 am #1251256Hi,
Thanks for the update. Please try the following in Quick CSS under Enfold->General Styling:
.single-post .entry-content div { line-height: normal !important; font-size: small !important; }
Best regards,
RikardOctober 8, 2020 at 9:20 am #1251353Hi Rikard,
Doesn’t seem to work.
Added it to Quick CSS and also to the custom.css but doesn’t have an effect.When I manually add the CSS code to the individual post pg, it works… Meaning that when I add a new styleelement, it works.
Overwriting the stylesettings of the existing p element doesn’t work.<style>
pblog {
line-height: normal !important;
font-size: small !important;
}
</style>See the preview URL in the private content.
October 9, 2020 at 6:34 am #1251632Hi,
You have active caching and minification on the site, what happens if you disable that?
Best regards,
RikardOctober 10, 2020 at 4:22 pm #1251904Did you made some changes to the config because I am now getting Varnish cache errors on the site (including home page).
I have checked the custom.css and the Quick CSS field but don’t see any CSS code added.This is the error:
Error 503 Backend fetch failed
Backend fetch failedGuru Meditation:
XID: 405451Varnish cache server
I am also checking with the hosting company.
Thanks, DOctober 12, 2020 at 4:48 am #1252155October 13, 2020 at 6:30 pm #1252581Hi Rikard,
Quick update – added it to the Quick CSS field works now.
Still don’t know the exact reason but guess it had something todo with the Varnish/Redis/W3TC/Client Cache…
Anyway, it works now.Thank for your support.
Cheers,
DimitriOctober 15, 2020 at 1:27 am #1252876Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Blog content modified font size & line height?’ is closed to new replies.