0

I need to show the next arrow in all the pages of the product when the product page shown in full screen. Is there any option to enable next arrow in fotoram.js file? I have used magento 2.2.6 version.

0

Finally, I have found the solution. The solution is, comment out the following line in the fotorama.js file.

//$arrs.toggle(opts.arrows);

And add the following line in below the comment out line.

$arrs.show();

0

Fixed the issue using css in gallery.less Next, Previous arrow hidden issue.

Override gallery.less file Copy gallery.less from magento/lib/web/mage/gallery/gallery.less

And put in theme

File path: magento/app/design/frontend/Vendor/Theme/web/mage/gallery/gallery.less

Add the below code in gallery.less file.

.fotorama__arr.fotorama__arr--next,.fotorama__arr.fotorama__arr--prev
{
    display: block !important;
}

After run below command:

php bin/magento setup:upgrade

php bin/magento setup:static-content:deploy -f

php bin/magento cache:flush

Let me know if any issue.

Hope it help!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.