Site logo

[Support request] Alignment Issue

Home Forums Support [Support request] Alignment Issue

Home Forums Support Alignment Issue

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #2562856
    Suman

    I am unable to align the subheading in the center view on mobile.

    https://imgur.com/m03ZU8K

    Need your help in fixing it. Thank You.

    #2562904
    David
    Staff
    Customer Support

    Hi there,

    in the editor, in mobile view, select the headline block.
    in the blocks toolbar which is above the editor, set the text alignment option:

    2023-03-10_13-42-50

    if you make the change in mobile view, then that will only apply to mobile.

    #2562916
    Suman

    Thank you for your response, David.

    You had told me about this option earlier as well, and I did remember to apply it, but unfortunately, the alignment option does not appear on the mobile view.

    Am I doing something wrong?

    https://imgur.com/hOXdjv2

    #2562927
    David
    Staff
    Customer Support

    Odd… with the block selected go to the Typography panel in the settings sidebar, the text alignment option is also there.

    #2562940
    Suman

    I have already selected that option in Typography, and still not working.

    #2563255
    David
    Staff
    Customer Support

    Its because of this CSS you have on your site:

    .entry-content p {
        text-align: justify;
    }

    That needs removing.

    #2563274
    Suman

    Is it possible to justify the text after removing the CSS?

    #2563406
    Ying
    Staff
    Customer Support

    Hi Suman,

    The headline is set to align center on mobile, didn’t you say you’ve set it to justify?
    https://www.screencast.com/t/QMnhbo7DIVV

    Let me know!

    #2563831
    Suman

    Hi Ying yes the headline is set to center, but the issue is that I have added a CSS code to justify text on the entire website? Is that causing an issue?

    #2563837
    Suman

    The problem is if I remove that CSS code the entire text on my site will lose the justify parameter and I will have to justify text individually.

    Is there an option to exclude the justify parameter for that block or may some additional CSS to get it done?

    #2563884
    David
    Staff
    Customer Support

    Simplest solution, select that headline block and change its tag from P to DIV

    #2563890
    Suman

    Thank You David. You are awesome! You just saved me from a lot of trouble.

    #2563987
    David
    Staff
    Customer Support

    Glad to be of help

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