Tagged: mobile columns
I’ve read the docs (https://kriesi.at/documentation/enfold/columns/#toggle-id-11)
I’ve read other posts (https://kriesi.at/support/topic/grid-row-4-columns-on-desktop-and-2-columns-on-mobile/, etc)
But I still don’t see my columns when using grid rows on two lines for mobile. In some cases I have a grid row and in others columns and I can get columns to work with:
/* Mobile 2 columns per line */
@media only screen and (max-width: 767px) {
@media only screen and (max-width:767px) {
.col-sponsors {
width:49%!important;
}
.col-sponsors.av_one_fourth{
margin-left:1%!important;
}}
But how can I get it working on grid rows using a class name so I get 2 per row?
Hey lzevon,
Thanks for your patience and the link to your site, I see currently you are using 1/5 columns and only the first 3 have the custom class col-sponsors the last one doesn’t have a sponsor image or custom class, nonetheless as it is right now you could use this css in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:
@media only screen and (max-width:767px) {
.responsive #top #wrap_all .av-flex-cells .no_margin.col-sponsors {
width:49%;
display: inline-block;
}
}
If you add the custom class to the fourth one it will also line up.
Best regards,
Mike
Thank you!
Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.
Best regards,
Mike