Archived topic
Content template - Design as "Geek" - Changing sides of pic and text
6 replies · Started by Gerald on August 25, 2022
Hi,
I'm just trying ou your generateblocks.
My website:
http://www.geraldlanger.de/blog
It works, but I want a change (left to right, right to left) from pic and text like in "Geek" in your site library. Is that possible?
Thanks for your help.
Best regards
Gerald
Hi there,
so those templates use a GenerateBlocks grid block, and each columns in the grid is a Container Block.
If you open the Block List view you can see the structure more easily, select a column Container and then use the Block Mover option in the toolbar to re-arrage them. See her for an example:
Hi Tom,
thank you for your quick answer.
It helps not completely.
I want an "automatic" side-change for each post in the blog.
Photo - Text
Text - Photo
Photo -Text
Text - Photo
etc.
Hope, you can understand my problem.
Best regards
Gerald
I want an “automatic” side-change for each post in the blog.
That part is just using this CSS:
.dynamic-content-template:nth-child(even) .gb-grid-wrapper {
flex-direction: row-reverse;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Let me know if this helps :)
Hi Leo,
it works.
Thank you!
Best regards
Gerald
No problem :)