Boost Mobile Sales by Adding Thumbnails in Brooklyn Theme
Published on Jul 29, 2024
In the ever-evolving world of e-commerce, optimizing your Shopify store for mobile devices is crucial. One common challenge faced by store owners using the Brooklyn theme is displaying product thumbnails on mobile views. This guide will walk you through the process of adding product thumbnails to your mobile product pages, enhancing the user experience and potentially boosting your sales.
Understanding the Brooklyn Theme’s Mobile Layout
Default Mobile View
By default, the Brooklyn theme displays product images as a slideshow on mobile devices. While this can be visually appealing, it may not provide the best user experience for customers who want to quickly browse through all available product images.
The Importance of Thumbnails
Adding thumbnails to your mobile product pages can significantly improve the shopping experience. Thumbnails allow customers to:
- Quickly scan all available product images
- Easily navigate between different views of the product
- Get a comprehensive overview of the product without excessive scrolling
Implementing Thumbnails on Mobile: Step-by-Step Guide
To add thumbnails to your mobile product pages in the Brooklyn theme, you’ll need to make some modifications to your theme files. Here’s a detailed guide on how to achieve this:
Step 1: Modify the Product Template
The first step involves editing the product template file to remove the class that hides thumbnails on small screens.
- Navigate to your Shopify admin panel
- Go to Online Store > Themes
- Find your Brooklyn theme and click “Actions” > “Edit code”
- Locate the
sections/product-template.liquid
file - Find the code for the thumbnail container (usually around line 85)
- Remove the ‘small—hide’ class from the element
Your code should change from:
<ul class="product-single__thumbnails grid-uniform small--hide" id="ProductThumbs">
to:
<ul class="product-single__thumbnails grid-uniform" id="ProductThumbs">
Step 2: Adjust Thumbnail Layout
Next, you’ll need to modify the individual thumbnail containers to ensure they display correctly on small screens.
- In the same
product-template.liquid
file - Locate the code for individual thumbnail containers (usually near line 88)
- Add the ‘small—one-third’ class to the element
Your code should change from:
<li class="grid__item medium--one-quarter large--one-quarter">
to:
<li class="grid__item small--one-third medium--one-quarter large--one-quarter">
Step 3: Fine-tune Thumbnail Styling
Depending on your specific layout, you may need to adjust the spacing between the main product image and the thumbnail gallery.
- Open your
timber.scss.liquid
file - Add the following CSS at the end of the file:
.product-single__thumbnails {
margin-top: 15px;
}
You can adjust the margin-top
value to suit your specific needs.
Troubleshooting Common Issues
Images Stacking Up
Some users have reported issues with images stacking up when clicking through different product images. If you encounter this problem:
- Check your theme settings for product pages
- Ensure that image stacking is turned off
- Review your JavaScript settings, particularly those related to the image slider
Thumbnails Not Appearing
If thumbnails are still not appearing on mobile devices:
- Double-check that you’ve removed the ‘small—hide’ class correctly
- Verify that the ‘small—one-third’ class (or your chosen width class) is applied to the thumbnail containers
- Clear your theme cache and refresh your store
Thumbnail Functionality
In some cases, clicking on thumbnails may not change the main product image. To address this:
- Review the JavaScript responsible for thumbnail functionality
- Ensure that event listeners are properly set up for mobile devices
- Consider disabling the slideshow dots if they’re interfering with thumbnail functionality
Optimizing Your Mobile Product Pages
Improving Load Times
With the addition of thumbnails, it’s important to optimize your images to maintain fast load times:
- Use appropriately sized images for thumbnails
- Implement lazy loading for images further down the page
- Consider using a content delivery network (CDN) for faster image delivery
Enhancing User Experience
Beyond thumbnails, consider these additional improvements for your mobile product pages:
- Implement touch-friendly controls for image zooming
- Use clear, concise product descriptions that are easy to read on small screens
- Ensure your “Add to Cart” button is prominently displayed and easy to tap
Testing Across Devices
Always test your changes across various mobile devices and screen sizes:
- Use browser developer tools to simulate different devices
- Test on actual iOS and Android devices
- Consider using a service like BrowserStack for comprehensive device testing
By following these steps and optimizations, you can significantly improve the mobile shopping experience on your Shopify store using the Brooklyn theme. Remember to always back up your theme before making changes, and don’t hesitate to seek professional help if you encounter persistent issues.
With these improvements, your mobile customers will have an easier time viewing and interacting with your product images, potentially leading to increased engagement and sales for your e-commerce business.
Take Our Quick Quiz:
Which primary product image do you think has the highest conversion rate?