[Resolved] Question about Section Width on Mobile

Home Forums Support [Resolved] Question about Section Width on Mobile

Home Forums Support Question about Section Width on Mobile

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1254316
    Chris

    Hey guys! First off, thanks so much for releasing GP 1.1…so glad you fixed the page configurator! I was sick of scrolling through the WP blocks to get to the sections! It’s much appreciated.

    There have been a few situations when I changed a section inner box type to full width to better show off google maps and photo plugins. They look great on desktop and go to the screen edge, but I notice a small margin on mobile on the left and right sides.

    Is there a way to get content to go all the way to the screen edge on mobile? I resorted to filling in the Google Maps section background with the same green color as the map itself so it was less noticable, but this isn’t so helpful for a photo gallery.

    Thanks for your help!
    Chris

    #1254834
    David
    Staff
    Customer Support

    Hi there,

    add this CS to your site:

    @media (max-width: 768px) {
        .no-mobile-padding .generate-sections-inside-container {
            padding-left: 0;
            padding-right: 0;
        }
    }

    Then for any Sections you want to remove the left and right padding you can edit the Section > Settings and add no-mobile-padding to the Custom Class field

    #1255255
    Chris

    awesome, thanks for your help!

    #1255257
    Chris

    resolved

    #1257413
    David
    Staff
    Customer Support

    Glad to be of help

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