Storefront theme

This documentation can help you put a slider under the top menu of the Storefront theme.

Step 1

Go to the FTP of your website and create a child folder:


Step 2

Create a style.css file in this folder:


and write this code in it:

Theme Name: Storefront child theme
Template: storefront
@import url('../storefront/style.css');

Step 3

Create a functions.php file:


Write this code in it, just replace the shortcode with your slider's shortcode:

function smart_slider_header(){
	echo do_shortcode('[smartslider3 slider=315]');

add_action('storefront_before_content', 'smart_slider_header');

Step 4

Activate your child theme.