Okay
  Print

How to fix bug "next button"of thumbnail on product page don't work for prestashop 1.7

If  you click "next button " of thumbnail on product page don't work , please do these steps:

+) check file product.tpl(ROOT\themes\theme_name\templates\catalog)

+) check file product.js(ROOT\themes\theme_name\_dev\assets\js)

+) edit css in theme.css

#product #content {
    position: relative;
    margin: 0 auto;
}
#main .images-container .js-qv-mask {
    white-space: nowrap;
    overflow: hidden;
}
#main .images-container .js-qv-mask.scroll {
    width: 292px;
    margin: 0 auto;
}
.images-container .js-qv-mask .js-qv-product-images {
    text-align: center; /*important */
}
.product-images > li.thumb-container {
    display: inline;  /*important */
}
.product-images > li.thumb-container > .thumb {
    cursor: pointer;
    filter: alpha(opacity=80);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
    -moz-opacity: 0.8;
    -khtml-opacity: 0.8;
    opacity: 0.8;
    margin-right: 1 rem;
}
.scroll-box-arrows {
    display: none;
}
.scroll-box-arrows.scroll {
    display: block;
}
.scroll-box-arrows i {
    filter: alpha(opacity=100);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    -moz-opacity: 1;
    -khtml-opacity: 1;
    opacity: 1;
    cursor: pointer;
    width: 1.78571rem;
    height: 1.78571rem;
    line-height: 1.71429rem;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    border: 0;
    font-size: 1.14286rem;
    color: #666666;
    margin: auto;
    position: absolute;
    background-color: #ebebeb;
    z-index: 9;
    text-align: center;
    -webkit-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
    bottom: 2rem;
}
.product-cover-thum .scroll-box-arrows i.left {
    left: 0;
}
.product-cover-thum .scroll-box-arrows i.right {
    right: 0;
}