[Resolved] blog posts index

Home Forums Support [Resolved] blog posts index

Home Forums Support blog posts index

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #489661
    Roy

    I would like to format the title or home page where the blog posts are displayed. The page that displays the posts is formatted well, with paragraphs and the post title in bold, etc. However, the main page that displays the first few blog posts does not have any paragraph formatting at all.

    Sorry if this is a repeat question, as I imagine this is a popular question…

    Thanks for your help. I do not know CSS so if this is a CCS or other code issue please either provide the code or direct me to where I can find the code – thanks!

    #489663
    Roy

    Using the GeneratePress Child theme
    version: 0.1

    #489922
    Leo
    Staff
    Customer Support

    Hi there,

    The title can be formatted using Customizer > Typography > Headings > H2

    As for the post excerpt, WordPress strips all HTML (styles) by default.

    But you can format them with some CSS like this:

    .entry-summary p {
        font-size: 20px;
        color: #000;
        font-weight: 700;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    Let me know if this helps ๐Ÿ™‚

    #489954
    Roy

    Thank you Leo!

    I copied the CSS you provided above into the Customizer and was able to see the better results immediately and even change the values to make the posts look better. THANKS!

    Another improvement would be to format the posts on the front page to reveal the paragraph structure from the posts page to the blog index page.

    And not to display the categories on the front page.

    Are these possible as well?

    Thanks so much

    #490008
    Leo
    Staff
    Customer Support

    If you want the format from the single posts to show on the blog page as well, then more tag is needed: https://docs.generatepress.com/article/using-the-more-tag/

    You can hide the categories using the customizer options: https://docs.generatepress.com/article/blog-content-layout/

    #490632
    Roy

    Thank you Leo.

    I found the customizer options for the display of my blog to be very helpful.

    One last thing: is it possible to format the posts on the blog index page to reveal the paragraph structure from the posts page?

    Thanks again,
    Roy

    #490749
    Leo
    Staff
    Customer Support

    WordPress strips all HTML from excerpt by default.

    You would need to use the more tag to keep the style you have in the actual post: https://docs.generatepress.com/article/using-the-more-tag/

    #490760
    Roy

    Got it!!! Finally.

    Thanks so much.

    #490817
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

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