Posts not flexing after minor code edit
-
Have edited the standard cards style of post listing to simply use an image rather than testing for and using the post icon, however any time I edit the code the flex breaks so I end up with a tall line of post cards instead of the proper three across the row style.
Website in question is here: https://www.gtquantum.com/news/
-
Hi @Ben ,
When you update a pre-existing post display layout like 'Card,' it changes the container's class from templateContainer--websitePosts-list-card to templateContainer--websitePosts-list-custom. This happens when you click the 'Source Code' link located at the upper right part of the editor.
To fix this, you might need to update the class in the CSS tab from templateContainer--websitePosts-list-card to templateContainer--websitePosts-list-custom.
-
@kimguevarra Yep, that was it. One little word in the CSS! Thanks for the advice!