No margin/padding on mobile devices

Please report bugs here!

Moderator: Thorsten

Post Reply
stryker
Posts: 5
Joined: Thu Mar 17, 2016 3:52 pm

No margin/padding on mobile devices

Post by stryker »

There is a bug in the boostrap grid in the default template (so it can also be seen in the demo when):

You did correctly
container
row
col-md-8 pmf-maincontent

But then used again a .row in the .col-md-8

This gives the layout again a margin-right: -15px and a margin-left: -15px and so the content is pressed directly to the screen edge, without margin, on small displays.

=> fix: remove the <div> with the .row class
Thorsten
Posts: 15561
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: No margin/padding on mobile devices

Post by Thorsten »

HI,

thanks, fixed for 2.9.5

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply