Home Forums WoodMart support forum Single product tab HTML Block issue (Aizaz or Luke only pls)

Single product tab HTML Block issue (Aizaz or Luke only pls)

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #402730

    Golden1
    Participant

    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.
    #402905

    Luke Nielsen
    Keymaster

    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.
    #403039

    Golden1
    Participant

    Thank you please mark as resolved.

    #403144

    Luke Nielsen
    Keymaster

    Hello,

    Always remember that you can reach out to us with any questions you may have.

    We wish you a splendid day!

    Kind Regards

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Single product tab HTML Block issue (Aizaz or Luke only pls)’ is closed to new replies.