Accordion collapsed on page load
Hello.
I would like to ask how can I make accordion next to image in shop (more info...) to be closed / collapsed on page load? (class mfn-acc accordion_wrapper open1st ???). All not only the first...
Thanks.
Hello.
I would like to ask how can I make accordion next to image in shop (more info...) to be closed / collapsed on page load? (class mfn-acc accordion_wrapper open1st ???). All not only the first...
Thanks.
Comments
Hi,
Please always attach a link so we can check it out. If the page is offline(localhost), then our help will be limited, you will have to contact us when the page is online. Also, please make sure that the page is not under maintenance before you provide us the link.
Thanks
Hello.
I apologize for the inconvenience.
This is the link, site is active:
I am trying to have all accordion tabs collapsed on page load including first one.
Thanks again.
Please, check the following link:
https://themes.muffingroup.com/be/theme/shortcodes/content-blocks/#accordion
There you will find the Accordion shortcode and all parameters that you can set, for example, to open/close the tabs.
Thanks
Thank you for your reply.
Though in this situation I do not control the shortcode in the WooCommerce shop page as I can only select the Accordion position through the Be Theme/Blog, Portfolio & shop/shop setup in ''SINGLE PRODUCT Style'' . And I prefer not to change the single product template.
I can make the whole accordion wrapper disappear with
.mfn-acc.accordion_wrapper.open1st {
display: none;}
But I just want all accordion items to be collapsed.
Please advise.
Thanks.
Unfortunately, the only option to change it is to modify the file responsible for the single product layout.
Best regards
Ok then.
Could you please inform me witch file is that because I have search almost all php templates and I have not found anywhere to change ''open1st'' value to ''0''.
It sure is a Be Theme's some Template.php but witch one?
Thanks again.
The file responsible for that is placed in woocommerce -> single-product -> tabs, and it is a file named tabs.php.
Best regards