We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Atelier Theme – Disable Product Card Image Carousel & Enable Full Card Click on Mobile (Collection P

Atelier Theme – Disable Product Card Image Carousel & Enable Full Card Click on Mobile (Collection P

BKir
Visitor
1 0 1

Hi, I’m using the Atelier theme and need help with two things on the product cards on the collection page, both on desktop and mobile. First, I want to turn off the image carousel that shows extra product images when you hover (on desktop) or swipe (on mobile). I’d prefer each product card to just show one image, with no scrolling or sliding. Second, I want to make the whole product card clickable on mobile. Right now, only the product name can be tapped to open the product page, but I’d like the photo to be a link too to the product. Any help or code to do this would be really appreciated!

Reply 1 (1)

Small_Task_Help
Shopify Partner
1144 55 112

Hi,

Hope this will help

- Disable carousel : Removed image loop and showed only featured_image
- Clickable product card : Wrapped the whole product card in an <a> tag
Code example

<a href="{{ product.url }}" class="product-card-link">
  <div class="product-card">
    <img src="{{ product.featured_image | img_url: '400x' }}" alt="{{ product.title }}">
    <h3>{{ product.title }}</h3>
    <p>{{ product.price | money }}</p>
  </div>
</a>

 

To Get Shopify Experts Help, Click Here or E-mail - hi@ecommercesmalltask.com
About Us - We are Shopify Developers India
At Google My Business - Ecommerce Small Task - Hire Shopify Developers Ahmedabad