This topic has 2 replies, 2 voices, and was last updated 8 years ago ago by Rose Tyler
I would like to have all accordion tabs closed whenever anyone visits a single product page, how do I do this?
Can someone tell me a plugin or a piece of code that would load the page with all accordion tabs closed.
Thanks
Hello,
To close first tab by default you need edit the file wp-content/themes/royal/woocommerce/single-product/tabs.php and change the code http://prntscr.com/decys4 to <?php if($i == 0) echo 'style="display:block;"'; ?>
.
Regards,
Rose Tyler.
You must be logged in to reply to this topic.Log in/Sign up