amyjoW27 Posted June 11, 2021 Share Posted June 11, 2021 Site URL: https://www.dirtyhairanddiamonds.com/shop/mala-beads On desktop it is easy to toggle through the variant (color) drop down menu to see a visual representation of each variant. But on mobile, the variant (color) drop down menu is under the stack of all images for that product. Is there a way to label the photos with the variant name without having to add them to the images? Or is there way to move the drop down menu to the top of the photo stack? Link to comment
tuanphan Posted June 12, 2021 Share Posted June 12, 2021 13 hours ago, amyjoW27 said: Site URL: https://www.dirtyhairanddiamonds.com/shop/mala-beads On desktop it is easy to toggle through the variant (color) drop down menu to see a visual representation of each variant. But on mobile, the variant (color) drop down menu is under the stack of all images for that product. Is there a way to label the photos with the variant name without having to add them to the images? Or is there way to move the drop down menu to the top of the photo stack? Add to Settings > Advanced > code Injection > Footer > then save & check on real mobile <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script> jQuery(document).ready(function($){ if (jQuery(window).width() < 640) { $('.ProductItem-details .product-variants').insertAfter('section.ProductItem-details.ProductItem-details--mobile'); } }); </script> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
amyjoW27 Posted June 13, 2021 Author Share Posted June 13, 2021 On 6/12/2021 at 2:34 AM, tuanphan said: Add to Settings > Advanced > code Injection > Footer > then save & check on real mobile <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script> jQuery(document).ready(function($){ if (jQuery(window).width() < 640) { $('.ProductItem-details .product-variants').insertAfter('section.ProductItem-details.ProductItem-details--mobile'); } }); </script> Thanks for your help with this but it didn't fix the issue: On mobile: It did move the drop down menu to the top of the product page but it reproduced the drop down list under the drop down menu as radial buttons. Neither the drop down list or the radial button changed the first photo like it does on desktop. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment