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!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login