Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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?

    #730882

    it 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”

    #730929

    Hey 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.

    #731136

    well 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. pp

    the 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.
    #731223

    so 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.
    #731245

    Hi!

    Let us know if that works!

    @Guenni007
    once again, thank u for your James Bond CSS skills!

    Regards,
    Basilis

    #732088

    Gotcha. 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?

    #733856

    Hi,

    Yes, the css code that was provided above should do it.

    Best regards,
    Ismael

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.