Don't put margin on bootstrap columns

360hd's picture
360hd
Wed, 12/16/2015 - 12:29
#1
Don't put margin on bootstrap columns

Hello,

Bootstrap columns should never have custom margin or it breaks the page layout.

It's easy to reproduce the problem :

  • Create a new section

  • Create some columns, at least 2

  • Add some left and right margin to the columns

  • Save and see the result on the frontend

As you can notice, it works on backoffice but not on frontend. By looking at the code, it's because the backoffice add an inner div in the column and apply the margin on it (which is the right practice) whereas the frontend directly apply the margin on the column.

This post is related to my other one about the addition of div element. But I prefers to create a new post as it's now a bug report, and not a feature request.

Regards,

Alex

phuonght's picture
phuonght
Thu, 12/17/2015 - 05:53

Alex,

Once again, thank you for your feedback. We will check this problem and reply ASAP.

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.