[Resolved] Padding issue on iPad in portrait mode…

Home Forums Support [Resolved] Padding issue on iPad in portrait mode…

Home Forums Support Padding issue on iPad in portrait mode…

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1354069
    Peter

    Hi,

    I have had some customisations done on my premium theme a while ago, and only now noticed that on the iPad (pro 12 inch) in portrait mode there is no padding either on the left or the right.

    Also in landscape mode on my iPhone (new SE) the post featured image do not resize. It remains the same as in portrait mode.

    Could you please help me out to fix these?

    Cheers, Pete

    #1354246
    Leo
    Staff
    Customer Support

    Hi there,

    Can you do this first?
    https://www.screencast.com/t/ZzdpXUeeJxbb

    #1354315
    Peter

    Hi Leo,

    Oops, sorry!

    My bad.

    Should have known.

    All cache plugins cleared and deactivated.

    Cheers, Pete

    #1354505
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    You could try something like this:

    @media (max-width: 1130px) {
        .site-header, #page {
            padding: 0 20px;
        }
    }
    #1354755
    Peter

    Hi Tom,

    Thanks a lot, it’s worked great!

    The padding was not applied to the header though.

    The menu toggle and the search icons are still on the edge of the screen in portrait mode.

    Cheers, Pete

    #1354909
    David
    Staff
    Customer Support

    Hi there,

    try this:

    @media (max-width: 1130px) {
        #page {
            padding: 0 20px;
        }
        .nav-search-enabled .main-navigation .menu-toggle {
            margin-left: 20px;
        }
        .main-navigation .mobile-bar-items {
            margin-right: 20px;
        }
    }
    #1354922
    Peter

    Hi David,

    Worked👌👏

    Thanks a million.

    Cheers, Pete

    #1354941
    David
    Staff
    Customer Support

    Glad we could be of help

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