Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #448267

    Guys,

    Please can you help I have a product displayed at https://www.psweb-test1.com/bridal-shop-leicestershire/bridal-shoes/baccara-merle-morris/ and I want to modify the position of the products tabs to this see: http://www.psweb-test1.com/new-design.pdf

    Many Thanks

    Peter

    #448829

    Hi,

    Try adding this at the very end of your theme / child theme functions.php file:

    function add_custom_script(){
    if(is_singular('product')){
    ?>
    <script>
    (function($){
        $(window).load(function() {
        	$('div[itemprop="description"]').before($('.woocommerce-tabs').detach());
        });
    })(jQuery);
    </script>
    <?php
    }
    }
    add_action('wp_footer', 'add_custom_script');

    And add this to Quick CSS:

    .main_color div.product .woocommerce-tabs .panel {
        border-color :#e1e1e1;
    }

    Regards,
    Josue

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.