-
AuthorPosts
-
January 8, 2017 at 4:44 pm #730874
Hi. If I go to WP-admin > Enfold > General Styling > Fonts, I have the option to specify a font size for “Paragraph” text under the Default content font size dropdown menu. Currently, it’s set to 15px. Is there any way to change this to 18px for only our blog index (…/blog/) and Posts?
January 8, 2017 at 6:06 pm #730882it depends on what you want to enlarge – only the font-size of p tag when single post is shown – or do you want the p tag be enlarged allready in the category blog list style ( with excerpts ) etc.
so there is a class “sinlge-post” for all posts on body there is a class (even in category listing) “post-entry” etc.
you can use these depending on what to do.
.single-post p {font-size: 18px !important}
or
.post-entry p {font-size: 18px !important}
etc pp. every class which only comes up if your desired changings appear will be the specific selector.
On Portfolio case the class added to body was “single-portfolio”January 9, 2017 at 12:25 am #730929Hey Guenni007 thanks for the help but I don’t quite understand your first sentence. What do you mean by
the category blog list style ( with excerpts ) etc.
January 9, 2017 at 2:19 pm #731136well have a look here: http://kriesi.at/themes/enfold/blog/blog-single-author-big/
this is not the single blog post. It is a style to present the different posts. If you click one of them it goes to the posts.
What p tag would you like to change both – the one without the other . etc. ppthe best way for us is to have your site link. – and a hint what to change
- This reply was modified 7 years, 11 months ago by Guenni007.
January 9, 2017 at 6:09 pm #731223so if it is only concerning to blog and single posts in blog:
.template-blog .entry-content p { font-size: 18px; line-height: 30px; }
maybe an !important is necessary
.template-blog .entry-content p { font-size: 18px !important; line-height: 30px !important; }
- This reply was modified 7 years, 11 months ago by Guenni007.
January 9, 2017 at 7:00 pm #731245Hi!
Let us know if that works!
@Guenni007 once again, thank u for your James Bond CSS skills!Regards,
BasilisJanuary 11, 2017 at 3:42 pm #732088Gotcha. I’m wanting the body of the post to be 18px. So in your example here: http://kriesi.at/themes/enfold/blog/blog-single-author-big/
The text you see in the excerpt and of course on the blog post page itself, the body of the content. Will I still use the same CSS to achieve this?
January 16, 2017 at 4:13 am #733856 -
AuthorPosts
- You must be logged in to reply to this topic.