Accordion centre

i would like to centre the accordion on the page (not just the writing in the box itself) - how can I do this? Have tried playing with margins and padding but this affects the heading also. Can you help?

Hey Milka,

I’m sorry but I am not sure what you want to achieve based only on a short description. Please see or review our How to Get Support article to know how to effectively ask for support.

Please also give us the URL of the page you’ve added the accordion and give us some screenshots of the area you’re working on and provide a more detailed description of what you want to achieve.

Thanks.

Hi there. Sorry for rubbish description.
Site is : http://142.93.38.239/
under GBC Growth Advisors tab. towards end of page I have created an accordion: It’ looks to the left of the heading. I wanted to somehow centre just the entire accordion so its centred underneath the heading.
Many thanks,
M

Hi again.

Thank you for the explanation, Please add the following code in Element CSS of your Accordion element:

$el {
  margin: 0 auto;
}

To learn more about Element CSS feature you can checkout https://theme.co/apex/forum/t/features-element-css/20500

Hope this helps!

That’s perfect - all sorted.
Many thanks

Glad it’s okay now and you’re most welcome!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.