Archived topic
Loop layouts, two columns layout on mobile
7 replies · Started by Carsten on January 26, 2019
Hi there, on desktop I have a three columns layout of my buddypress members directory.
Customize>Buddypress>Loop layouts> Members >Three columns layout
On Mobile, this turns into a one column layout. I would like to have a two column layout on the mobile, how do I achieve this?
Regards
Carsten
Hi there,
This is out of our scope. But if can you provide a login so we can see the Site then we may be able to assist with some CSS.
Thank you David, the login information is send under Account Issue.
I am sorry if this is not theme related, I thought so, as the loop layouts is part of dashboard>appearance >customize. But I appreciate if you will take a look at it.
Thanks
Hi there,
Did you get this sorted? I'm seeing 2 columns on mobile: https://www.screencast.com/t/FkYAYc7B
Let me know :)
Hi Tom, thanks for your interest,
In vertical position, I only have one column.
Ah, on super small screens.
Try adding this CSS:
@media (max-width: 500px) {
.grid>li.item-entry {
float: left;
margin: 0;
width: 50%;
}
.grid.three>li:nth-child(odd), .grid.two>li:nth-child(odd) {
padding-right: 10px;
}
}
Hi Tom, if you consider the iPhone 6/7/8 screens as super small, then yes ;-)
It worked out perfectly, this was exactly what I was looking for.
Thanks for your help!
Regards
Carsten
You're welcome :)