-
0754ben84
Hi guys,
I’ve got these blocks on my page. They display exactly how I wat them to on desktop:

But on mobile, they stack;
Text
Image
Image
TextHow can I get them to display:
Image
Text
Image
TextI’ve provided a link to the page inthe secret squirrel box
Thanks
-
George
Hello. Three things:
1. On mobile, let the grid’s DISPLAY value to
Default. This will allow the container to keep displaying as a grid on mobile, too.2. On mobile, set the grid’s GRID TEMPLATE COLUMNS value to
1fr.
3. On mobile, set the third grid container (the second image) to have an ORDER value of
1.
-
GeorgBNM
Hi George,
Trying this with the (Feature Sections) Patterns 22 & 23 from GenerateBlocks Pro.
On mobile I can’t change the order from
text
image
text
image
text
imageto
image
text
image
text
image
textWhat’s the hint?
Thank you!
Best,
Georg -
George
Hello.
Are you using those patterns as they are with their own sections or have you integrated them in one section? Can you please provide a URL?
-
GeorgBNM
Hi George,
working only on localhost atm. Can’t share.
I use the patterns as they are with changed image (url), removed tagline and second button and changed text content. The columns remain the same.
Can you still help?
Best,
Georg -
George
If you use the patterns as they are, there shouldn’t be an issue. I have tried it locally with the same exact patterns and it looks fine. That’s because the patterns are like this:
Pattern 22
Image – TextPattern 23
Text – ImageNo need to reorder.
-
GeorgBNM
Hi George,
on mobile:
Text
ImageText
ImageText
ImageShould be:
Image
TextImage
TextImage
TextTried it with Patterns as they are, also. With no success.
Thank you!
Best,
Georg -
George
Ok, I see, those blocks are set as flex and have display property set as
Blockfor tablet. Set Display toFlexfor the second pattern on mobile, and FLEX DIRECTION toColumn. Then, set ORDER to1for the first container (Text). -
GeorgBNM
Hi George,
Thanks, you pushed me in the right direction.
In my case, setting Display to
flexand Flex Direction tocolumn reversewas enough.
Setting order was not needed at all.Thanks a lot!
Best,
Georg -
George
Ok, good, no problem!
- You must be logged in to reply to this topic.