Here, we will see, how you can set the thumbnail of fotorama slider in product view page to left as vertical in Magento 2.
Magento uses the view.xml file for gallery and magnifier theme settings.
For example, if you are using the default theme luma, you should find the view.xml at vendor/magento/theme-frontend-luma/etc/view.xml.
In this file, we can see a variable navdir under <var name=”gallery”> node.
This variable has the ability to change the thumbnails alignment in Fotorama.
1 |
<var name="navdir"> horizontal</var> |
To set the thumbnails as vertical, you need to change the code as below:
1 |
<var name="navdir"> vertical</var> |
You can define your own custom view.xml file in your theme at app/design/frontend/THEME-VENDOR/THEME/etc/view.xml, and change navdir as per your requirement.
[crayon-63e0998e2c6b5953580141/] Using above fucntion Images can be imported directly from...
Override view block using di.xml and add the below code...
You can check a list of called layout XML for...
Follow the below steps to install and set up PWA...
If you want to remove all leading zero's from order,...
Let our Magento expert connect to discuss your requirement.
We offer Magento
certified developers.
Our Magento clientele
is 500+.
We sign NDA for the
security of your projects.
We’ve performed 100+
Magento migration projects.
Free quotation
on your project.
Three months warranty on
code developed by us.