Site logo

[Resolved] The right margin of the container does not fit correctly on movile version

Home Forums Support [Resolved] The right margin of the container does not fit correctly on movile version

Home Forums Support The right margin of the container does not fit correctly on movile version

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1549404
    Ivan

    Hi,
    First of all I have GeneratePress theme 3.0.2 and GeneratePress Premium 1.12.2

    In the mobile version of my website http://emcolimpiezas.es, the right margin of the container does not fit correctly on the mobile. With your finger you can go right and left, which is not correct.

    I was looking at the container settings (margin and padding) but I haven’t been able to fix it.

    I don’t know if I explain myself, that’s why I am attaching a screenshot.
    https://www.screencast.com/t/x2QMNdfP

    Thx,
    Ivan

    #1549813
    David
    Staff
    Customer Support

    Hi there,

    the Footer you have constructed in Elementor, the Widget containing the image has lots of negative Margin applied to it. Remove the negative margins to resolve the issue.

    #1551439
    Ivan

    Hi @David,

    You were right, modifying the margin of the image has fixed the space.
    The “Services” tab continued to have this margin and I cannot locate it, I have not seen any negative margin.
    Can you tell me this?

    #1551716
    David
    Staff
    Customer Support

    The custom CSS you have for setting the mobile logo background color and size.
    Change it to this:

    #mobile-header .navigation-branding, #mobile-header .site-logo.mobile-header-logo {
        flex: 1 0 100%;
        justify-content: center;
        background: #f2e0bf;
        margin-left: 0;
        margin-right: 0;
    }
    #1551926
    Ivan

    David I don’t understand you.
    In the whole web page the margin works correctly, but in the “Services” tab that margin still exists.

    I have modified the CSS with which you indicate but the “Services” tab remains the same.

    #1552070
    David
    Staff
    Customer Support

    I am not seeing the issue now – can you try clearing your browser cache.

    #1552472
    Ivan

    I have clean the cache, but it remains the same. I have also tried another browser, but the margins are still there.

    I’m talking about how it looks on Mobile.
    https://www.screencast.com/t/ltas52YE

    #1553050
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    It must be something within the content of that page.

    You can do this to prevent it:

    body, html {
        overflow-x: hidden;
    }
    #1553284
    Ivan

    @David, @Tom thanks you! 🙂
    The problem I think is my mobile. I just tried two other mobiles and they work fine

    Sorry for wasting time with me..

    #1555351
    Tom
    Lead Developer
    Lead Developer

    No worries – glad it’s working! 🙂

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