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

    Hi there,

    What works for desktop, is not good in mobile http://www.lobstertrail.com/send-a-lobster-gift/

    We’d Iike to force the drop down by category at top of mobile version…instead of having to sift through tons of products first. Would prefer not to change desktop version. Any ideas? thanks!

    #768688

    Hey lobstahhhhhhh,

    Here is the code you can put in functions.php

    
    add_action('wp_footer', 'ava_new_custom_script');
    function ava_new_custom_script(){
    ?>
    <script type="text/javascript">
    (function($) {
    	function a() {
    		$('#woocommerce_product_categories-3').insertBefore('#av-masonry-1');
    	}
    
    	$(window).load(function() {
    		a();
    	});
    })(jQuery);
    </script>
    <?php
    }
    

    If you need further assistance please let us know.
    Best regards,
    Victoria

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