responsive_views_grid.css in Responsive Views Grid 8
/* Grid style column align. */
.views-view-responsive-grid .views-col {
float: left;
}
@media screen and (max-width: 480px) {
.views-view-responsive-grid .views-col {
width: 100% !important;
margin-bottom: 2em;
}
.views-view-responsive-grid .views-col.clearfix {
margin-bottom: 0;
}
.views-view-responsive-grid .views-col.clearfix .views-row {
margin-bottom: 2em;
}
}
.views-view-responsive-grid .views-row {
clear: both;
float: left;
width: 100%;
}
File
css/responsive_views_grid.css
View source
- /* Grid style column align. */
- .views-view-responsive-grid .views-col {
- float: left;
- }
- @media screen and (max-width: 480px) {
- .views-view-responsive-grid .views-col {
- width: 100% !important;
- margin-bottom: 2em;
- }
- .views-view-responsive-grid .views-col.clearfix {
- margin-bottom: 0;
- }
- .views-view-responsive-grid .views-col.clearfix .views-row {
- margin-bottom: 2em;
- }
- }
-
- .views-view-responsive-grid .views-row {
- clear: both;
- float: left;
- width: 100%;
- }