• Editing a custom theme from another developer. There is a mystery right margin that appears only on mobile device. You can swipe to reveal it on my Samung note and it sticks upon page loading on iPhone.

    I’ve checked CSS margins and can’t figure it out. The old theme had a side widget area that might be somehow locked in, but it doesn’t show up on my macbook in safari or chrome. Not sure where the issue is…I’m using the visual composer plugin and full width rows on a full width page. Not sure what is overriding that to create this huge margin in mobile.

    Thanks for your help!!! Click here to view the link to site

Viewing 1 replies (of 1 total)
  • Visual Composer seems to be adding some padding to the right of some sections with this CSS on mobile:

    .vc_grid.vc_row.vc_grid-gutter-30px .vc_grid-item {
        padding-right: 30px;
        padding-bottom: 30px;
    }

    It may need this on desktop but hasn’t removed it for mobile. Just add in your own media query to remove this for mobile only and see if that fixes your issue.

Viewing 1 replies (of 1 total)
  • The topic ‘Mystery Right Margin on iPhone’ is closed to new replies.