Oncord Community Logo
    • Recent
    • Popular
    • Register
    • Login

    Posts not flexing after minor code edit

    Advanced Coding
    2
    3
    372
    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
      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
        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
          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
          • 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.