[Resolved] Padding on mobile

Home Forums Support [Resolved] Padding on mobile

Home Forums Support Padding on mobile

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2326056
    Jamshed

    We are using ‘content container’ as ‘contained’ for our posts, and the page appear nice on desktops.
    https://empire-state-building.co/how-to-reach/

    However, on mobile the same url doesn’t look nice (the content sticks to edges of the screen – https://ibb.co/HKyLrC7 ). How can we add padding on mobile?

    #2326360
    David
    Staff
    Customer Support

    Hi there,

    the Content Container options – whether it be Contained or Full Width, will remove the themes padding, which is why you see the content stick to the viewport edges on smaller screens.

    Why are you setting it to Contained ? When Default should do what you need without the above issue ?

    #2326402
    Jamshed

    Hi David, Yes, you are right. The ‘Default’ for all does the trick. Thank you.

    However, now I notice one more issue – please see our home page and a post page on mobile.

    https://empire-state-building.co/
    https://empire-state-building.co/how-to-reach/

    On post pages, there is a huge gap between the header and the Featured image, which doesn’t exist on desktop.

    Yet again, thank you for your help.

    #2326535
    Ying
    Staff
    Customer Support

    Hi there,

    The padding is from the setting at customizer > layout > container > content padding.

    As the homepage’s content container is set to contain, it removes the theme paddings from the content container.

    But the post’s content container is set to default, it keeps the padding.

    You can adjust the padding for mobile by clicking the mobile icon πŸ™‚

    #2326932
    Jamshed

    Thank you Ying. That solves. πŸ™‚

    #2327457
    Ying
    Staff
    Customer Support

    You are welcome πŸ™‚

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