-
ivdesigner
I am using a content template for a Custom Post type archive page. I would like to display the posts in two or three columns and not just one. I know the Customizer layout does not work because it is a custom post type. I tried to use the display:flex set to row and wrapping but to no avail. I tried different settings but still nothing. How do I achieve this?
-
Hi there,
As you have GB too, I would recommend using block element – loop template with the query loop block of GB, so you can decide how many columns you want for the archive.
Or you can use this filter if you’d like to use block element – content template:
https://docs.generatepress.com/article/using-columns-in-the-blog/#adding-columns-to-your-custom-post-type -
ivdesigner
Thank you Ying! The filter is perfect. I forgot about those two options. Appreciate it!
-
Glad it works 🙂
You are welcome!
- You must be logged in to reply to this topic.