Site logo

[Support request] Padding on text-block

Home Forums Support [Support request] Padding on text-block

Home Forums Support Padding on text-block

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2446275
    Niklas

    Hello and thanks for a great product!

    I have problems aligning text block in single Posts. I want the body text to align and have the same width as images and heading. See test post here:
    https://edelstromdesign.se/test-blog-post/

    Thanks!

    #2446303
    Fernando
    Customer Support

    Hi Niklas,

    The texts have spacing coming for default WordPress styles. Specifically, it’s because the text has a Background color.

    Is that background color needed? If not, you can unset it in the Paragraph’s Block settings. That should remove the spacing.

    Otherwise, try adding this code through Appearance > Customize > Additional CSS to override that:

    p.has-background {
        padding: unset;
    }

    Hope this helps!

    #2446324
    Niklas

    It was that simple! I would not think that the colour had anything to do with the width.
    Amazing!
    Thanks Fernando!

    Best regards
    Niklas

    #2449564
    Fernando
    Customer Support

    You’re welcome Niklas!

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