Page 1 of 1

Wrap Text in Header of jquery Accordion

Posted: Sat Jul 24, 2021 12:49 am
by BazzaBoy
I am creating an FAQ page using a layout grid, inside which I have placed a jquery accordion.

The idea is to ask the question in the header of each panel of the accordion and the answer is given in the content box of each panel. So far, so good. But, when I reach the 480 or 320 breakpoints, the question extends beyond the header of the accordion.

So my question is: Can we wrap text in the header section, or not?

I know, the alternative is to use the Responsive FAQ extension, but an accordion looks smarter.

Thanks for any advice.

Re: Wrap Text in Header of jquery Accordion

Posted: Sat Jul 24, 2021 6:23 am
by Pablo
Can we wrap text in the header section, or not?
I have tried it myself and it seems to work. You will have to preview or publish the page to see the result.

Re: Wrap Text in Header of jquery Accordion

Posted: Sun Jul 25, 2021 12:28 am
by BazzaBoy
You are right. It does work when I load the file from an external server.

Thank you very much.