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

    Hello, I was wondering if there is a shortcode to move the dotted part (Woocommerce) in the image to the new location:

    Thanks!

    #1339621

    Hey EricSmeets,
    Try adding this code to the end of your functions.php file in Appearance ▸ Editor:

    function custom_script() { ?>
        <script>
    (function($) {
        $('#top.single-product #wrap_all .single-product-summary .product_meta').css({ 'line-height': '24px' }).detach().insertAfter('.single-product-summary .single_add_to_cart_button');
    })(jQuery);
    </script>
        <?php
    }
    add_action('wp_footer', 'custom_script');

    the expected results:
    2022-02-08_002.jpg

    Best regards,
    Mike

    #1339624

    Perfect, thanks Mike for your reply!

    #1339708

    Hi,

    Glad we could be of help. Please feel free to open another thread should you need anything else.

    Have a nice day.

    Best regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Change location of Woocommerce field’ is closed to new replies.