Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Is there a way to label photos of variants?


amyjoW27

Question

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
  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

2 answers to this question

Recommended Posts

  • 0
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>

 

Link to comment
  • 0
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. 

IMG_5720.PNG

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...