Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1496294

    I am having a problem on mobile view of a website. On one page there is a huge gap between a textbox inside a color section and grid row. When checking the site on desktop everything looks like it should, but on mobile there is a huge gap. When choosing to inspect element in chrome it looks like there is three whitespace separators in the empty space, but there is no separator at all.
    Any idea why this is? Link to the page below.

    Regards
    Nina

    #1496298

    Hey Advantage09,

    Thank you for the inquiry.

    After reviewing the page, we can see that there are three Separator/White Space elements placed below the Grid Row element. These are causing the large gap on mobile.

    You have two options to fix this:

    1. Remove the three Separator/White Space elements entirely if they are not needed.
    2. Keep them but set their visibility to desktop only. You can do this by editing each Separator element, going to Advanced > Responsive, and adjusting the Element Visibility setting so they only show on desktop.

    Please make sure to purge the cache before testing. Let us know the result.

    Best regards,
    Ismael

    #1496300

    Hi
    They are all set to only show on desktop and tablet and have been the entire time.
    Removing them makes the grid row get stuck together and that is not what I want.

    Regards
    Nina

    #1496303

    Hi,
    On desktop I see that you have three grid rows with a HR in between each of them. On mobile you have the three grid rows and HRs hidden, but since the HRs are after the grid rows they create a after_grid_row container which is not hidden.
    Try this css to hide the containers on mobile.

    @media only screen and (max-width: 479px) {
       .page-id-31 #after_grid_row_1,.page-id-31 #after_grid_row_2,.page-id-31 #after_grid_row_3 {
            display: none !important;
        }
    } 

    Best regards,
    Mike

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