- This topic has 6 replies, 3 voices, and was last updated 3 years, 4 months ago by
David.
-
AuthorPosts
-
May 12, 2022 at 12:35 pm #2217915
Gerva
Morning, here I am again asking for help 🙁
OK I can handle the reverse order in the Mobile version, but what if I want to do it in the Desktop version as well?
For an aesthetic issue I put photos on the left and text on the right, but for SEO issues the best thing is to start with H1 or H2 text on the left … suggestions
DEMO PAGE
As you can see in the demo page, right at the beginningThank you very much
May 12, 2022 at 2:02 pm #2217975Gerva
I found a solution, reverses the columns, but puts them one on top of the other ….
.column-reverse { display: flex; flex-direction: column-reverse; } .row-reverse { display: flex; flex-direction: row-reverse; }
Another solution found but it too has some problems
.box-olg { display: flex; flex-direction: row; } .box-olg :nth-child(1) { order: 2; } .box-olg :nth-child(2) { order: 1; }
I need a different solution mmmm
May 12, 2022 at 5:21 pm #2218034Ying
StaffCustomer SupportOK I can handle the reverse order in the Mobile version, but what if I want to do it in the Desktop version as well?
I’m not sure I fully understand your question.
Which section are we talking about? and why not switch the columns directedly in the page editor?
Can you explain a bit more?
And the order can be set within GB, you don’t have to use CSS:
https://docs.generateblocks.com/article/container-overview/#orderMay 13, 2022 at 1:46 am #2218234Gerva
Good morning.
I try to explain myself better.
Layout/Design Need.
To have the image “container 01” shown on the left of the screen and the texts “container 02” on the right.SEO Need.
The first thing I would like the search engine to read is the H1, H2 and P text, which in the layout I draw on the right, but I would like to make it appear on the left before the image.Actually by fiddling a little I got some results, but with several errors and problems.
I created a specific page with the two examples
Thank you for your kind cooperation and support
May 13, 2022 at 5:16 am #2218387David
StaffCustomer SupportHi there,
remove any of the CSS and the CSS Classes you added to your site.
Then add this CSS:@media(min-width: 769px) { .gb-grid-wrapper.row-reverse { flex-direction: row-reverse; } }
And on any Grid Block you want to reverse add the CSS Class:
row-reverse
This will only apply to Tablet and Desktop screen sizes.
May 13, 2022 at 5:21 am #2218395Gerva
Fantastic
You are always number one in case of need always there.
Thank you very much and have a great dayMay 13, 2022 at 5:52 am #2218416David
StaffCustomer SupportGlad to be of help!
-
AuthorPosts
- You must be logged in to reply to this topic.