Archived topic
Two columns on mobile except featured post
3 replies · Started by Karel on November 20, 2021
Viewing posts 1–4 of 4
Hi,
I used this code:
@media (max-width: 767px) {
.generate-columns.mobile-grid-100 {
clear: none;
width: 50%;
}
}
to display two columns on mobile and that works.
But I would like the featured post (shown as first) to remain one column.
How could I achieve that?
Thanks
Hi Karel,
You can add this CSS into your media query:
.generate-columns.mobile-grid-100:first-child {
width: 100%;
}
Let me know :)
Perfect! Thanks!
No problem :)
This archived topic is closed to new replies.