Question:
How can I change a box/container to change the hight according to the lenght of the content?
Product:
I am working in Wix Editor
What are you trying to achieve:
I want to create an FAQ site featuring 2 tabs. In each tab I have one repeater which features many containers. In each container I have a text which poses the question, an expandable/collapsible text which gives the answer plus a one button for expand and one button for the link to the full help article. All containers should be the same hight at first. If the answer is longer, the âmore buttonâ will appear and when I click the box should expand with the text making the full version visible. The questions and answers are pulled from my CMS database.
What have you already tried:
I have the working code for everything. But the boxes dont expand accordingly, so the longer text is not visible. I dont see fixed position so I can not uncheck that box, I also dont see automatic hight to content, so I cant check that. I instead cleared the hight of the container to no value.