Center an accordian

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,480 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: 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:

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.