Problem with responsive grid
-
Hello,
I am using the “Advanced Bootstrap Blocks” and I must say that it is truly fantastic.
I’m having a small problem: when I create a row with multiple columns inside and use multiple “col” classes, the classes for smartphones are not respected.
I’ll put part of the code below where I find the problem.
<div class="wp-block-advanced-bootstrap-blocks-row row"> <!-- wp:advanced-bootstrap-blocks/column {"className":"col-12"} --> <div class="wp-block-advanced-bootstrap-blocks-column col-12 col"> some other code </div> <!-- /wp:advanced-bootstrap-blocks/column --> <!-- wp:advanced-bootstrap-blocks/column {"className":"col-md-4 col-sm-12 mb-5 pb-5 fadeIn"} --> <div class="wp-block-advanced-bootstrap-blocks-column col-md-4 col-sm-12 mb-5 pb-5 fadeIn col"> some other code </div> <!-- /wp:advanced-bootstrap-blocks/column --> <!-- wp:advanced-bootstrap-blocks/column {"className":"col-md-4 col-sm-12 mb-5 pb-5 fadeIn"} --> <div class="wp-block-advanced-bootstrap-blocks-column col-md-4 col-sm-12 mb-5 pb-5 fadeIn col"> some other code </div> <!-- /wp:advanced-bootstrap-blocks/column --> <!-- wp:advanced-bootstrap-blocks/column {"className":"col-md-4 col-sm-12 mb-5 pb-5 fadeIn"} --> <div class="wp-block-advanced-bootstrap-blocks-column col-md-4 col-sm-12 mb-5 pb-5 fadeIn col"> some other code </div> <!-- /wp:advanced-bootstrap-blocks/column --> <!-- wp:advanced-bootstrap-blocks/column {"className":"col-md-4 col-sm-12 mb-5 pb-5 fadeIn"} --> <div class="wp-block-advanced-bootstrap-blocks-column col-md-4 col-sm-12 mb-5 pb-5 fadeIn col"> some other code </div> <!-- /wp:advanced-bootstrap-blocks/column --> <!-- wp:advanced-bootstrap-blocks/column {"className":"col-md-4 col-sm-12 mb-5 pb-5 fadeIn"} --> <div class="wp-block-advanced-bootstrap-blocks-column col-md-4 col-sm-12 mb-5 pb-5 fadeIn col"> some other code </div> <!-- /wp:advanced-bootstrap-blocks/column --> <!-- wp:advanced-bootstrap-blocks/column {"className":"col-md-4 col-sm-12 mb-5 pb-5 fadeIn"} --> <div class="wp-block-advanced-bootstrap-blocks-column col-md-4 col-sm-12 mb-5 pb-5 fadeIn col"> some other code </div> <!-- /wp:advanced-bootstrap-blocks/column --> <!-- /wp:advanced-bootstrap-blocks/column --> </div>
Working on the html I noticed that eliminating the final class “col” I solve the problem.
Can you tell me where I’m wrong?
Thank you
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Problem with responsive grid’ is closed to new replies.