[Resolved] Proper vertical alignment between containers

Home Forums Support [Resolved] Proper vertical alignment between containers

Home Forums Support Proper vertical alignment between containers

Viewing 15 posts - 1 through 15 (of 20 total)
  • Author
    Posts
  • #2267343
    Chintan

    Hi

    I’m creating a page using GP premium where I can’t seem to fix the vertical alignment between two containers: https://ibb.co/5T1923P. Can you please help with the relevant changes I need to make? Thank you ๐Ÿ™‚

    #2267400
    Leo
    Staff
    Customer Support

    Hi there,

    Any chance you can link us to the page in question?

    You can use the private information field:
    https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information

    Let me know ๐Ÿ™‚

    #2267818
    Chintan

    I shared it in the private info field ๐Ÿ™‚

    #2267869
    David
    Staff
    Customer Support

    Hi there,

    are you wanting to align the columns from the different containers ?

    #2267883
    Chintan

    Yep I want the text to appear visually aligned vertically, so I guess that would be the columns, right?

    #2267900
    David
    Staff
    Customer Support

    Ok, so if i look at Writing Tools and Freelance Tools – which one of those is ‘correct’ ?

    #2268592
    Chintan

    I think you mean the “Freelance Writing” section, and that’s what I want the whole page’s containers to appear like. Essentially I want them to be centrally aligned on the page.

    #2268662
    Ying
    Staff
    Customer Support

    They should be aligned automatically if you deactivate the align full option for GB container blocks.

    But I guess you want each container’s background color extended to the edges, is that the case?

    If so, try the following steps:

    1. Disable all the align full option for GB container blocks.

    2. Set the page’s content container to be full width. You can do so using the layout meta box, you can find it here in the page editor:
    https://docs.generatepress.com/article/layout-metabox-overview/#where-is-it

    3. I noticed that you have a layout element activated on this page which sets the content container to 800px, I would recommend excluding this page from the location of that layout element.
    https://docs.generatepress.com/article/layout-element-overview/

    #2278689
    Chintan

    Thanks much. That worked ๐Ÿ™‚

    #2279675
    Ying
    Staff
    Customer Support

    Glad to hear that ๐Ÿ™‚

    #2294431
    Chintan

    Hi Ying,

    I am still struggling here with the vertical alignment. I have shared the screenshot with details of what I want to achieve and the page link. Can you please help? Thank you!

    #2294552
    Fernando
    Customer Support

    Hi Chintan,

    To clarify, are you looking for something like this?: https://share.getcloudapp.com/ApuXWK2X

    If so, try setting the alignment of the Container Block holding the Grid Block to center.

    If youโ€™re trying to move them to the center, with the text still position at the left, you can try doing it through spacing.

    Otherwise, you might need custom CSS for this. Try inserting the Paragraph Blocks within a Container Block, and Iโ€™ll see what I can do.

    Hope to hear from you soon.

    #2294765
    Chintan

    Hi Fernando,

    “If youโ€™re trying to move them to the center, with the text still position at the left, you can try doing it through spacing.”

    Yep, this is what I want to, not what you show in the screenshot ๐Ÿ™‚

    By spacing do you mean using the horizontal and vertical gap present in grids? I tried that, but it doesn’t seem to work.

    #2294769
    Fernando
    Customer Support

    Try adding Padding to the Container Block within the Grid Block. ๐Ÿ™‚

    Example: https://share.getcloudapp.com/mXux4Zzk

    #2297497
    Chintan

    Thank you. I tried that and it worked for desktop. But the mobile version of the page now is behaving weirdly in terms of alignment, and using the padding for right or left doesn’t seem to align the text. Can you please help?

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