Center an accordian - Post ID 301433

User 3146387 Photo


Registered User
1 post

Newbie here... how can I "pin center" an accordian in its container? thanks!
User 122279 Photo


Senior Advisor
14,474 posts
Online Now

Give the .list-container a max-width, let the display be 'block' and then set the margin left and right to 'auto'.

You can see how it is done in my component library here: https://mock-up.coffeecup.com Choose your framework and look in the section that says 'Layout'.

Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com



Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.