[Resolved] Paragraph alignment to center looks bad

Home Forums Support [Resolved] Paragraph alignment to center looks bad

Home Forums Support Paragraph alignment to center looks bad

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1570481
    Manuela

    Hello!

    On my homepage, I’d like the text from the paragraphs to be justified. Alignment to left doesn’t look good.

    Could you, please, help?

    Thank you

    #1570819
    Ying
    Staff
    Customer Support

    Hi Manuela,

    Which paragraphs do you mean?
    Let me know!

    #1570916
    Manuela

    Hey, Ying!

    The first paragraph that is next to the picture of a woman, and the the 2 paragraphs below: the paragraph under ‘Why integrate’, and the one under ‘Spiritual Guidance’. There are 3 paragraphs on the homepage, I’m wondering if the text in them could be aligned justified.

    Thanks

    #1571007
    Ying
    Staff
    Customer Support

    Try this CSS:

    .home .gb-grid-column-b06c8f66 p, .home .gb-container-6c96363a p, .home .gb-container-09451b16 p {
        text-align: justify;
    }

    Let me know if it works!

    #1571036
    Ying
    Staff
    Customer Support

    Following up:

    There’s actually a better way to achieve it, and if you need more paragraphs to be justified in the future, this method will come in handy.

    Add an additional CSS class for the paragraph that needs to be justified. Something like justify-text
    https://www.screencast.com/t/xhEOHdBI0k

    Then add this css:

    p.justify-text {
        text-align:justify;
    }
    #1571347
    Manuela

    Hey Ying,

    Thank you so much! It worked ๐Ÿ™‚

    All the best

    #1571940
    Ying
    Staff
    Customer Support

    Great! Glad to help ๐Ÿ™‚

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