Single product tab HTML Block issue (Aizaz or Luke only pls)
-
Hello, 2 questions:
1. Is it possible to re arrange the order in which the tabs on ‘single product’ page are viewed? If so, I would like to make it in this order : Description, The Tilted Donkey Style, Reviews
please note, ‘The Tilted Donkey Style’ tab is created as a custom HTML Block and assigned in: Theme Settings>Single Product>Tabs>Additional Tabs
2. In this custom HTML block I have a image gallery element which is set to view: Masonry grid.
In the preview it looks just fine. On the front end, its not displaying correctly as a grid. Any idea why?
Screenshots provided.
-
This topic was modified 2 years, 10 months ago by
Golden1.
Hello,
1. Yep, you can re-order the tabs with the help of the below code, please enter it into the functions.php
file in your child theme.
if ( ! function_exists('wd_reorder_tabs' ) ) {
function wd_reorder_tabs( $tabs ) {
$tabs['wd_additional_tab']['priority'] = 15;
return $tabs;
}
add_filter( 'woocommerce_product_tabs', 'wd_reorder_tabs', 98 );
}
2. Unfortunately, at the moment there is no way to display properly images via the “Masonry grid” in the product tabs, we will do our best to fix it as soon as possible. For now, I suggest you disable the “Masonry grid” for the gallery that is in the HTML block.
I’d be happy to assist if you have any other questions or concerns.
Kind Regards
-
This reply was modified 2 years, 10 months ago by
Luke Nielsen.
Thank you please mark as resolved.
Hello,
Always remember that you can reach out to us with any questions you may have.
We wish you a splendid day!
Kind Regards
The topic ‘Single product tab HTML Block issue (Aizaz or Luke only pls)’ is closed to new replies.