Oncord Community Logo
    • Recent
    • Popular
    • Register
    • Login

    Posts not flexing after minor code edit

    Scheduled Pinned Locked Moved Advanced Coding
    3 Posts 2 Posters 2.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • BenB Offline
      Ben
      last edited by

      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/

      Ben Johnston
      Evocative | Brand Design
      evocative.cc

      K 1 Reply Last reply Reply Quote 0
      • K Offline
        kimguevarra @Ben
        last edited by

        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.

        BenB 1 Reply Last reply Reply Quote 0
        • BenB Offline
          Ben @kimguevarra
          last edited by

          @kimguevarra Yep, that was it. One little word in the CSS! Thanks for the advice!

          Ben Johnston
          Evocative | Brand Design
          evocative.cc

          1 Reply Last reply Reply Quote 0

          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
          • First post
            Last post
          Features
          • Website
          • Customer Database
          • Digital Marketing
          • Sell Online
          • Integrations
          Help & Resources
          • Contact Support
          • Learning Centre
          • Latest News
          • Developer Resources
          Oncord
          • Contact Us
          • Client Stories
          • Partner Program
          • Agency Login
          Legal
          • Software: EULA
          • Support & Professional Services
          • Reseller Agreement

          © 2023 Oncord. All Rights Reserved.