Accordion plugin: how to change padding above and below content?

Q&ACategory: PluginAccordion plugin: how to change padding above and below content?
faith asked 11 months ago

Hello there,
Please see my page:

Services


I need less space top and bottom of above and below content when the accordion is open. I tried to change the padding, etc. Any code advice is most appreciated.
Thank you,
Faith

1 Answers
Hasan Staff answered 11 months ago

Welcome to our forum,
 
I have checked your link , i can see the issue top & bottom space come from your theme CSS for UL elements, please see the screenshot
 

View post on imgur.com


 
you can fix margin bottom issue for UL by adding this CSS

.accordions ul {
  margin-bottom: 0 !important;
}

you can control padding of content area of accordions by adding following css

.accordions .accordion-content {
  padding: 0 15px !important;
}

Please let me know for more help.
 
Best Regards