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 this snippet?

You can place PHP snippets at the bottom of your child theme functions.php file (delete "?>" if you have it there). CSS, on the other hand, goes in your child theme style.css file. Make sure you know what you are doing when editing such files - if you need more guidance, please take a look at my free video tutorial "Where to Place WooCommerce Customization?"

Does this snippet (still) work?

Please let me know in the comments if everything worked as expected. I would be happy to revise the snippet if you report otherwise (please provide screenshots). I have tested this code with Storefront theme, the WooCommerce version listed above and a WordPress-friendly hosting on PHP 7.3.

If you think this code saved you time & money, feel free to join 14,000+ WooCommerce Weekly subscribers for blog post updates or 250+ Business Bloomer supporters for 365 days of WooCommerce benefits. Thank you in advance :)

Need Help with WooCommerce?

Check out these free video tutorials. You can learn how to customize WooCommerce without unnecessary plugins, how to properly configure the WooCommerce plugin settings and even how to master WooCommerce troubleshooting in case of a bug!

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.

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? Support? Leave your Comment Now!
_____

If you are writing code, please wrap it between shortcodes: [php]code_here[/php]. Failure to complying with this (as well as going off topic, not writing in English, etc.) will result in comment deletion. 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 BloomerArmada to get blog comment reply priority, ask me 1-to-1 WooCommerce questions and enjoy many more perks. Thank you :)

Your email address will not be published.