Shopify themes, liquid, logos, and UX
Hi all,
On mobile the images are currently horizontal so customers swipe from left to right.
I want this to be vertical, so customers swipe from top to bottom.
Does anyone has an idea on how to implement this?
My product page Url: https://www.betanics.de/products/bio-kurkuma
Thanks
Kathie
what do you want please share screenshot or reference website .
Thanks!
i have check your provided URL and this is code customization work Please hire shopify expert .
Thanks!
For changes like this always consult the themes developers first incase they have an easy solution.
I believe flow uses the swiperjs library , swiperjs is capable of doing if true
https://swiperjs.com/demos#vertical
Demo with config code https://codesandbox.io/s/7rkhe?file=/index.html:2200-2210
Caveats:
Make sure you a/b test this, or that this is expected behavior on websites in your industries.
After all, are you making this change for your personal feelings of design, or because of observable provable customer behavior or requests to solve an issue. Further website performance can be increased by turning of features like slideshows improving conversions. Slideshows have a very narrow use case , with only a handful of images scrolling can be preferable.
Untested Always backup themes and files before making code changes.
In flows theme.js find the swiper initialization/constructor for the product page media element ".swiper-container" and change the direction from horizontal to vertical.
Example base config:
loadSlider() {
this.mediaSlider = new swiper_esm_bundle(this.$el.querySelector('.swiper-container'), {
direction: 'horizontal',
...
Becomes:
loadSlider() {
this.mediaSlider = new swiper_esm_bundle(this.$el.querySelector('.swiper-container'), {
direction: 'vertical',
...
You may need to consult the api docs for other related configs https://swiperjs.com/swiper-api , and-or implement CSS styles to suit this change.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024