Adjust the line height of a paragraph in an accordion widget?
Wondering if someone could help me adjust the line height of the paragraph inside the accordion widget.
Best Answer
-
.accordion-description .section-inner {
line-height: 40px;
}
That should work for you, but I think some of the accordions have different classes. And you probably won't want the line height to be 40px! Add it in dev mode to the CSS for that page.
2
Answers
-
You will most likely need CSS. If you can provide the link to your site or a preview link if it's unpublished, we may be able to assist.
0 -
Thanks @Elizabeth_Fedak, the worked perfectly.
2 -
Hello, I also have this question. I see @Elizabeth_Fedak has answered it, however I do not know exactly where to insert it within the CSS of the page. Could you explain? Thank you!
1 -
Hey @SassyK if you're new to using custom code on your site, please read the support pages on doing so first and save a site backup.
Create backup instructions: https://support.duda.co/hc/en-us/articles/360061888433-Backup-Sites
Here's instructions to add custom HTML/CSS to your site, available on Team plan and higher:https://support.duda.co/hc/en-us/articles/1500001598262-Developer-Mode1