How to Remove Pagination Dots and Arrows from Shopify Slideshow

Published on Jun 23, 2024

By Liam Gallagher

#Shopify#E-commerce#Web Design
3d_room

Are you looking to streamline your Shopify store’s homepage slideshow by removing those pesky pagination dots and control arrows? You’re not alone. Many store owners want a cleaner, more minimalist look for their banner slideshows. In this comprehensive guide, we’ll walk you through the process of removing these elements and troubleshoot common issues that may arise.

Understanding Shopify Slideshows

Before we dive into the solution, let’s briefly discuss why slideshows are important and how they function on Shopify stores.

The Role of Slideshows in E-commerce

Slideshows, often featured prominently on homepages, serve several crucial purposes:

  1. They showcase multiple products or promotions in a limited space.
  2. They create visual interest and encourage user engagement.
  3. They can highlight key messages or brand values.

Default Slideshow Controls in Shopify Themes

Most Shopify themes come with built-in slideshow functionality that includes:

  • Navigation arrows for manual control
  • Pagination dots to indicate the number of slides
  • Auto-scroll features for hands-free operation

While these controls are useful, they may not always align with your design vision.

Removing Slideshow Controls: The Solution

If you’re looking to remove the pagination dots and control arrows from your Shopify slideshow, we have a simple CSS solution that should work for most themes.

The CSS Fix

To remove the slideshow controls, add the following code to the bottom of your component-slideshow.css file:

.slideshow__controls.slider-buttons.no-js-hidden { 
    display: none; 
}

This CSS rule targets the container that holds the slideshow controls and sets its display property to “none,” effectively hiding it from view.

Implementing the Fix

To implement this fix, follow these steps:

  1. Go to your Shopify admin panel.
  2. Navigate to “Online Store” > “Themes.”
  3. Click on “Actions” for your current theme and select “Edit code.”
  4. In the file list, locate and open the component-slideshow.css file.
  5. Scroll to the bottom of the file and paste the CSS code provided above.
  6. Save the changes.

Troubleshooting Common Issues

After implementing the CSS fix, you may encounter some issues. Let’s address them:

Auto-Scroll Functionality

Some users have reported that removing the controls also disables the auto-scroll feature. If you experience this:

  1. Clear your browser cache and reload the page.
  2. Test the slideshow on different devices and browsers.
  3. If the issue persists, check your theme’s JavaScript to ensure auto-scroll isn’t tied to the control elements.

Mobile Responsiveness

The CSS fix should work on both desktop and mobile versions of your site. However, if you notice discrepancies:

  1. Use your browser’s developer tools to inspect the mobile view.
  2. Adjust the CSS as needed, possibly adding media queries for different screen sizes.

Theme Updates

Be aware that theme updates may overwrite your custom CSS. To prevent this:

  1. Keep a backup of your custom CSS code.
  2. After each theme update, check if the controls have reappeared.
  3. If necessary, reapply the CSS fix.

Advanced Customization Options

For those looking to further customize their slideshow experience, consider these options:

Selective Control Removal

If you want to keep some controls but remove others, you can target specific elements. For example:

.slideshow__controls .slider-button-prev,
.slideshow__controls .slider-button-next {
    display: none;
}

This would remove only the previous and next buttons while keeping the pagination dots.

Custom Control Styling

Instead of removing controls entirely, you might want to style them to better match your theme:

.slideshow__controls .slider-button {
    background-color: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
}

This example changes the buttons to have a transparent background with white borders and text.

Adding Touch Swipe for Mobile

If you’ve removed visible controls, ensure mobile users can still navigate by enabling swipe gestures:

// Add this to your theme's JavaScript file
$('.slideshow').on('swipeleft', function(e) {
    $(this).slick('slickNext');
});

$('.slideshow').on('swiperight', function(e) {
    $(this).slick('slickPrev');
});

Note that this requires the Slick Slider library or a similar touch-enabled slider plugin.

Best Practices for Slideshow Design

When customizing your slideshow, keep these best practices in mind:

  1. Performance: Optimize your images to ensure fast loading times.
  2. Accessibility: If removing visual controls, ensure keyboard navigation is still possible.
  3. Content Strategy: Use slideshows sparingly and only for critical content.
  4. Mobile-First: Design with mobile users in mind, as they often make up the majority of traffic.
  5. Testing: Always test your changes across multiple devices and browsers.

By following these guidelines and implementing the CSS fix provided, you can create a sleek, professional-looking slideshow that enhances your Shopify store’s aesthetic without compromising functionality.

Remember, while removing controls can create a cleaner look, it’s essential to balance design preferences with user experience. Always consider your audience and test thoroughly to ensure your slideshow remains intuitive and effective at showcasing your products or promotions.

Take Our Quick Quiz:

Which primary product image do you think has the highest conversion rate?