Jump to content

[solved] How To Change Active nextArrow prevArrow On Product Thumbnails


Recommended Posts

Hi,

I am trying to change the active link on the arrow buttons on the product page thumbnail images, when viewed on mobiles.

When the thumbnails are displayed vertically next to the main image, the active arrow button is the top arrow, which is counter intuitive because one would normally scroll down through images, but the way it is set up you have to click the top arrow and then the images scroll up.

I've always thought that this should be the other way around - the active arrow should be the bottom one which when you click it scrolls down through the images.

I've tried to change the code around on product-cover-thumbnails.tpl but it's not changing anything.

Does anyone know how I can change this myself in the code?


Thanks

Edited by Lee (see edit history)
Link to comment
Share on other sites

Hi @Lee

You can add the following rule to the end of custom.css or theme.css:

#thumb-gallery.product-thumb-images.slick-vertical .slick-prev {
    top: -20px;
    bottom: auto;    
}
#thumb-gallery.product-thumb-images.slick-vertical .slick-next {
    top: auto;
    bottom: -20px;
}
#thumb-gallery.product-thumb-images.slick-vertical .slick-prev:before {
    content: "\f106";
}
#thumb-gallery.product-thumb-images.slick-vertical .slick-next:before {
    content: "\f107";
}

(be sure to back up those files before making any changes)

I hope that I could help.
Cheers, Leo

Link to comment
Share on other sites

  • Lee changed the title to [solved] How To Change Active nextArrow prevArrow On Product Thumbnails

Create an account or sign in to comment

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

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...