Important
- For the pre-sale question, please feel free to contact us via live chat on Landofcoder.com ( From Monday to Friday 8:30 am - 5:30 pm GMT+7 ) or leave an offline message, we will give you a response asap.
- For technical questions, please submit a ticket below (recommended option) or send us an email via [email protected]. Our dev will support you within 24 hours since the submitted time (DO NOT support free extensions)
I am using your Page Builder for Magento 2. I have inserted the Accordion List for a topic and would like for all items to start collapsed. In the widget Options section, Active field, (Defines which tab is active when the widget gets instantiated.), I have left that field blank however the first row opens automatically. Can I do something to have the list start collapsed? Thank you for your help and let me know if you need more information.
Hello Richard,
Have a nice day!
Please try to edit the file "/app/code/Ves/BaseWidget/view/frontend/templates/widget/accordion.phtml"
Then find code:
$active = isset($active)?$active:0;
change to:
$active = isset($active)?$active:-1;
Thank you for the reply but that did not work. Is there another method to start with the accordion lists collapsed?
Hello Richard,
Have a nice day!
The accordion just need to edit as I mention. I think your custom theme are override the file ? please try to check in: app/design/frontend/[VENDOR]/[THEME NAME]/Ves_BaseWidget/templates/accordion.phtml
or it was cached in the folder "var/view_preprocessed/html/Ves/"
Please edit there files with same solution if it was stored at there.