Site logo

[Resolved] Centralize headline (vertical and horizontal)

Home Forums Support [Resolved] Centralize headline (vertical and horizontal)

Home Forums Support Centralize headline (vertical and horizontal)

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #2157643
    Mauricio

    Hi, I have created a new element with a headline inside and I have been unable to centralize the text inside (looking to centralize for mobile).

    This is a page example: https://www.cozinhatecnica.com/2022/03/cogumelos-tipos-de-cogumelos/

    I created a container/grid/container/headline

    #2157668
    Mauricio

    I think I found the solution. At least for horizontal. Thanks.

    #2157677
    David
    Staff
    Customer Support

    Hi there,

    ok if you select the Headline Block in Spacing settings you can set the Bottom Margin to another value. Otherwise it will attract the bottom-margin from the theme Customizer > Typography settings. If you set it to 0 then the space above and below the text will be roughly the same.

    If you want to center the text, with the Headline block selected you can select Align Text > Center in the Toolbar.
    If you want to apply that change ONLY to Mobile, then first set the Preview to Mobile, the Blocks Toolbar will move to the top of the editor, now when you set the Text alignment it will apply just to that screen size.

    #2157695
    Mauricio

    Thank you!

    #2158104
    David
    Staff
    Customer Support

    You’re welcome

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