Storefront Theme: How To Add A Full Width Slider

Storefront is great theme for launching an online store. It’s getting popular due to its simplicity and compatibility with WooCommerce. But one of the major drawback is it does not have a built-in slider section. Since it’s one of the most requested features of support forums in this tutorial we will demonstrate how to add a full-width slider to the StoreFront homepage using Storefront Add Slider plugin.

Using Storefront Add Slider you can add any slider shortcode (Meta Slider, Smart Slider 3, Soliloquy, Revolution Slider, LayerSlider shortcode) to your Storefront theme Frontpage. Let’s see how we can add a full width homepage slider. We will use the Meta Slider but the same process will apply to any slider plugin.

What Will I Need To Complete This Tutorial

  • Storefront WordPress theme
  • Storefront Add Slider plugin
  • Any Slider plugin of your choice (Meta Slider, Smart Slider 3, Soliloquy, Revolution Slider, LayerSlider)

Step 1: Creating a Slider using Meta Slider plugin

  1. Download & install Meta Slider
  2. Go to Dashboard > MetaSlider > MetaSlider
  3. Click on New
  4. Click on Add Slide and select image from your media library
  5. Write slider image caption
  6. Click on Save & copy the slider shortcode (ex: [metaslider id=1703])

Step 2: Installing Storefront Add Slider

Follow these steps to install Storefront Add Slider plugin:

  1. Download & install Storefront Add Slider
  2. Go to Dashboard > Appearance then click on Customize
  3. Go to  Static Front Page
  4. Paste your slider shortcode in Slider Shortcode field
  5. Click on Save & Publish

Using Other Plugins

Using this process you can display any slider to your Storefront homepage. There are lots of sliders plugin out there that you can try. The important thing is to choose a slider plugin that meets your need and lightweight. Because at the end of the you want your website to load faster and serve the content to users as quickly as possible.

If you have any questions or anything you’d like to add, please let us know in the comments.

Where to add custom code?

You should place custom PHP in functions.php and custom CSS in style.css of your child theme: where to place WooCommerce customization?

This code still works, unless you report otherwise. To exclude conflicts, temporarily switch to the Storefront theme, disable all plugins except WooCommerce, and test the snippet again: WooCommerce troubleshooting 101

Related content

  • Storefront Theme Visual Hook Guide
    Here’s a visual hook guide for Storefront Theme by WooCommerce. This visual guide belongs to my “Visual Hook Guide Series“, that I’ve put together so that you can find WooCommerce hooks quickly and easily by seeing their actual locations. Also, you can copy & paste in seconds and speed up your customization time. Let me […]
  • WooCommerce: Hide “Showing x-y of z results” @ Shop Page
    This is quite an annoying thing in WooCommerce when you have just a few products. Besides, if you only have 1 product in a given category, the notice “Showing the Single Result” will appear on top of the category page. So, how do we remove the whole “Showing 1–15 of 178 results” element from the […]
  • WooCommerce: Add an Icon to the Add to Cart Buttons
    Ecommerce is all about user experience, and making it easier for people to add to cart and checkout smoothly. Reducing the number of checkout fields is a great idea for example – as well as graphically communicating your number 1 objective: “please add to cart now!”. So, how do you add an icon (or an […]
  • WooCommerce + Storefront Theme: Hide Homepage Title
    The Storefront theme displays the homepage H1 title by default, no matter if you use the “Default” or the “Homepage” page template. Of course, you could do it via CSS, with a simple “display:none”. Even better, you could completely avoid loading the homepage title by using PHP (SEOs out there: better not to load an […]
  • WooCommerce: 10 Crucial Issues That Should Be Fixed Right Now
    I just spent the last 3 days in Porto with another 2,300 WordPressers at the first in-person WordCamp Europe since Berlin 2019. I had a blast, held a nice (yet long) workshop, spoke to many, but got tired too soon. Later on, I realized that that tiredness was something more serious – in fact I […]

Rodolfo Melogli

Business Bloomer Founder

Author, WooCommerce expert and WordCamp speaker, Rodolfo has worked as an independent WooCommerce freelancer since 2011. His goal is to help entrepreneurs and developers overcome their WooCommerce nightmares. Rodolfo loves travelling, chasing tennis & soccer balls and, of course, wood fired oven pizza. Follow @rmelogli

2 thoughts on “Storefront Theme: How To Add A Full Width Slider

  1. Hi,
    I am looking for a solution to have a full width slider on my site with meta slider. I have follow all your instruction but it does not work :(( it is like I have margin on right and left
    My home storefont WooCommerce setting is on Home because I need to display New product and other product.
    Meta slider dont help me and WooCommerce tell me to ask to meta slider support…
    Thanks if you have a solution

    1. Hi Sandra! You’ll probably need a bit of CSS or an HTML container to make it fit. Hope this helps

Questions? Feedback? Customization? Leave your comment now!

If you are writing code, please wrap it like so: [php]code_here[/php]. Failure to complying with this, as well as going off topic or not using the English language will result in comment disapproval. You should expect a reply in about 2 weeks - this is a popular blog but I need to get paid work done first. Please consider joining the Business Bloomer Club to get quick WooCommerce support. Thank you!

Your email address will not be published. Required fields are marked *