Site logo

[Resolved] Best way to display styled/formatted paragraphs in posts?

Home Forums Support [Resolved] Best way to display styled/formatted paragraphs in posts?

Home Forums Support Best way to display styled/formatted paragraphs in posts?

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #2305535
    Dmitrii

    I’d like to display styled/formatted paragraphs in posts, but was wondering what’s the best way to go about it (assuming I need 30-50 per post).

    Here’s a specific use case:
    List post of the top 50 recipes for a specific dish. Each of the recipes has an image and a blurb of text underneath it. The text underneath the image is what I want styled (background colors and accent borders to make it pop).

    Some of my list posts are going to be pretty chunky, so definitely don’t want to impact site speed (if possible).

    #2305699
    David
    Staff
    Customer Support

    Hi there,

    is this on a Single Post ? Or is this on an archive page ?

    #2308357
    Dmitrii

    It would be on a single post!

    #2308359
    Fernando
    Customer Support

    One approach is to create a class for these “list posts” and target and alter them through one “global” CSS.

    If you have GenerateBlocks Pro and you’ll be using GB blocks, you can also try Global Styles: https://docs.generateblocks.com/article/global-styles/

    #2308383
    Dmitrii

    If I use the GB block method, would I just need to use the Headline Block -> change to P for paragraphs?

    And then I can set the global styling for that block + reuse it as much as I want?

    #2308417
    Fernando
    Customer Support

    Yes, you can use a Headline Block and turn it to a paragraph, and reuse your global style as much as you want.

    #2344511
    Dmitrii

    Resolved

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