Wooassist

Assistance for Your Woocommerce Store

  • How it Works
  • Pricing
  • Services
    • Site Maintenance
    • AI SEO and Content Marketing
  • Blog
    • How-To Articles
    • Code Snippets
    • SEO For E-Commerce
    • Theme and Plugin Reviews
    • Wooassist News
    • WordPress/WooCommerce News
    • Interviews
  • About Us
  • Contact
You are here: Home / Archives for child theme

Storefront Theme Review

January 1, 2016 By John Leave a Comment

Storefront is the official WooCommerce theme built to the same high standards as WooCommerce itself. Best of all? It’s free!

storefront

A Storefront theme review is due. Here’s what’s included in this article:

  • Storefront Theme Overview
  • Storefront Key Features
  • What Makes Storefront Great
  • WooCommerce Integration
  • Storefront Setup
  • Arrival of Storefront 1.5
  • Storefront WooCommerce Styling
  • Popular Storefront Extensions
  • Choosing A Theme

Why WooCommerce?

WooCommerce is still the most popular e-commerce platform.

This open source e-commerce plugin for WordPress was launched in 2011 and is aimed at small-to-medium online merchants already comfortable with a WordPress set up.

There are a lot of free and premium themes to choose from, one of the most popular is – Storefront.

Storefront Theme Overview

Storefront is described as an intuitive, lightweight, and flexible theme offering deep integration with WooCommerce. It has several layout and color options to personalize your shop, multiple widget regions, a responsive design, and much more.

The main goal in developing Storefront is to provide a rock-solid foundation for your WooCommerce store without extra bloat or features.

It comes to no surprise that it reaches up to 3,000 downloads per day:

Integration:

Storefront theme is built and maintained by the same team that developed WooCommerce. This is why the integration between WooCommerce, its extensions, and Storefront is water-tight.

No Conflicts:

For e-commerce sites, uptime is of utmost importance. With the new Storefront, there will be no conflicts between theme and plugin during major WooCommerce updates.

storefront-reviews

Here’s a glimpse of some of its great reviews:

Solid Foundation:

Based on the popular Underscores starter theme, Storefront features a responsive layout, and schema markup for enhanced SEO performance.

Clean and Simple:

storefront-clean-simple-design

Storefront allows you to customize your store to match your brand by providing a clean and simple design.

Storefront Key Features

Most store owners want their e-commerce theme design to be simple and flexible. Storefront can offer exactly that.

Here are some of the key included features:

WooCommerce Integration

storefront-woocommerce-integration

Storefront features an unrivalled deep integration with WooCommerce. Of course, having been developed by WooCommerce authors, this integration is compliant with the latest WooCommerce developments and standards.

Lightweight and Robust Core

Storefront-Lightweight-and-Robust-Core

Storefront is based on Automattic’s popular underscores starter theme. Its codebase is under constant review ensure it is kept nice and clean to provide as little disruption and conflicts as possible..

Design Customization

storefront-design-and-customization

Every store owner would want to create a look and feel that matches their business. There are several display settings in Storefront that let you customize the design of your page to meet your requirements. Settings are all accessible in the WordPress Customizer.

What Makes Storefront Great

what-makes-store-front-great

The Storefront philosophy is to do one thing well and provide a solid foundation for your online store. Although the theme appears to be plain, it’s meant to be a starting place that includes deep WooCommerce integration.

Keep in mind that simple is usually more profitable. Unless you are spending a few grand on a professional designer then the fancy design you try and add yourself will most likely distract the user and lose sales.

No Shortcodes and Page Builders

Shortcodes in WordPress are little bits of code that allow you to do various things with little effort. You only get what you need with Storefront, which means you won’t encounter any superfluous shortcodes and page builders.

The Storefront team believes that not including these features allows you to add them via whichever plugin you prefer. Even if you switch themes later on, all of those features will remain. According to the release announcement, Storefront was built with data portability in mind. This means that users will be able to switch themes without losing their content.

Appropriate Sliders

Whether you should use slider is a highly debated topic. While other WordPress themes bundle sliders, Storefront lets you choose the appropriate plugin for your slider needs if you decide you do want one. It is also compatible with the WooSlider plugin.

WordPress offers many slider plugins to add them to your home page, landing pages, posts, or anywhere you want.

storefront-slider

Schema Markup

Schema markup is code that you put on your website to help the search engines return more informative results for users. The content on your website gets indexed and returned in search results. Storefront has valid schema markup for improved SEO performance.

Display Options

storefront-display-option

In addition to attractive products, the design of your shop is equally crucial. It’s important to make a good first impression with the help of professional design. With Storefront, you can change the look and feel of your store in a few clicks, and see your tweaks in real-time.

Responsive

If your site can’t be viewed effectively on mobile devices, you could be losing almost 50% of your customers.

Storefront on mobile device:

storefront-on-mobile

Storefront on tablet:

storefront-on-tablet

Non-responsive sites are now considered second-class businesses by Google. Storefront will adapt and display beautifully whether you view your store on a laptop, desktop computer, or handheld device.

Localized and Accessible

Storefront is fully localized and ready for your translations. It also adheres to the strict wordpress.org accessibility guidelines. That is why your store will be accessible to the widest audience possible.

Custom Homepage Template

The homepage template in Storefront has been tested for user experience and conversion. It displays product categories, recent, featured, on sale & top-rated products.

storefront-custom-homepage-template

It’s a great start for most small businesses to immerse the visitor in your products, while providing enough flexibility to promote the products that will make you the most profit.

WooCommerce Integration

It includes deep integration for WooCommerce and it’s most popular extensions. This means everything will look nice straight away and you won’t have to hire a professional developer or designer to make things fit in.

Some of the more popular extensions supported are:

WooCommerce Bookings

storefront-woocommerce-bookings

This extension is perfect for those wanting to offer services, appointments, or rentals. It allows you to sell your time or date based bookings, adding a new product type to your WooCommerce site.

WooCommerce Wishlists

storefront-wishlist

From birthdays to weddings, and everything in between, this extension allows guests and customers to create and add products to an unlimited number of Wishlists.

WooCommerce Brands

storefront-brands

This extension for WooCommerce allows you to create brands for your shop; each brand can be named, described and assigned an image.

WooCommerce Subscriptions

storefront-subscriptions

WooCommerce Subscriptions is an extension that allows you to introduce a variety of subscriptions for physical or virtual products and services. Create product of the month clubs, weekly service subscriptions, or even yearly software billing packages.

WooCommerce Memberships

WooCommerce Memberships

WooCommerce Memberships allows you to create a membership system that is tied completely to your WooCommerce Store. It is fully compatible with Storefront theme. You can restrict content to certain memberships classes. You can also turn your store into a membership club by restricting purchases to members. Among other useful features, you can even give members special discounts.

Composite Products

Composite Products allows you to create customizable products for your WooCommerce store. It is now fully compatible with Storefront theme. You can allow your customers to customize certain parts of their order.

WooCommerce Composite Products

Storefront Setup

Almost all of the Storefront setup can be done via the theme Customizer.

storefront-setup

The easiest way to install Storefront is through the WordPress dashboard.

  1. Navigate to Appearance > Themes > Add New
  2. Hover over the Storefront screenshot and click the ‘Install’ button to install the theme.
  3. Activate Storefront as you would any other WordPress theme.

To install Storefront manually:

storefront-manual-install
  1. Download the latest version here.
  2. Upload the extracted folder to the /wp-content/themes/ directory on your server via FTP
  3. Activate Storefront from the Appearance > Themes screen in your dashboard

Read more on how to install and use themes here.

Menus

Storefront has two menu locations, Primary and Secondary. If you do not assign a Menu to the primary navigation, it will display each of your pages. On the other hand, the secondary navigation will display nothing.

storefront-menus

After activating Storefront for the first time, you won’t see anything in the secondary navigation. Here’s your guide to creating and assigning menus to theme locations.

Page Templates

Storefront comes with just two page templates.

Full Width

storefront-fullwidth

This is just a standard page template without a sidebar, allowing the content to span the full width of your site.

Homepage

storefront-homepage

The homepage template allows you to display a multitude of products and product categories.

Here’s a Woothemes guide on installing and configuring Storefront.

Arrival of Storefront 1.5

After the success of Storefront comes the newly improved Storefront 1.5, which achieves another coveted tag on wordpress.org. Its primary feature? A support for right-to-left languages in Storefront. The traditional RTL support standard overloads an additional stylesheet on top of the primary one.

storefront-version1-5

With Storefront 1.5, if you install WordPress in a right-to-left language, the theme will automatically recognize it. It will then load a different set of stylesheets tailored to that language. This makes Storefront a stronger global theme solution for WooCommerce.

You can also expect the following improvements:

Integration with More Extensions

storefront-integration-extentsion

Storefront 1.5 has increased the number of customer-facing extensions it integrates with to 11. It offers added support for WooCommerce Deposits and Product Bundles.

Revamped 404 Page

storefront-revamped-404

Storefront 1.5 is now made to be more useful to folks browsing a shop. The new 404 page now includes a product search box, links to product categories, featured products and popular products.

Featured Images

The previous version of Storefront didn’t cater to adding featured images to pages. Now, once you add a featured image to a page, it will appear on the frontend directly above the page title.

Scrolling Header Cart

storefront-header-cart

Considered a handy feature, the header cart lets visitors access their cart total, and the number of items it contains. It also reveals the carts contents upon hover. Using Storefront 1.5, the cart dropdown now has a set height that scroll as more items are added.

You can check out their awesome video about Storefront here.

Storefront WooCommerce Styling

A lot of themes we see, from Themeforest especially, do not style WooCommerce according to the best practice standards set by the Woocommerce authors.

The most common problem is overriding templates.  This causes the cost to update WordPress, Woocommerce and the theme itself to sky rocket down the track. You won’t have this problem with Storefront.

Shop Pages

storefront-shop-pages

When it comes to shop pages, you can style for all product details and WooCommerce widgets, such as the price filter. The number of products per page is also automatically adjusted to 12.

Single Product Page

storefront-single-product

Single product pages include appropriate WooCommerce styling as well. The product tabs are presented in a vertical layout, and the number of related products is adjusted to three.

Cart and Checkout Page

storefront-cart-checkout

The checkout template features a two-column layout, with customer details on the left, and order details on the right. The ‘Place Order’ button is also always in view, making it easy to complete orders for customers.

storefront-place-order

And Now, It’s Storefront 2.5

Improved Mobile Design

From Storefront 2.0 and up, the theme now offers an improved mobile design for better mobile experience. The header section has been redesigned so that the content appears further up. This ensures that your visitors see more of the content on your WooCommerce store right away.

Storefront 2.0 Mobile View

New typography

Storefront 2.0 and up introduces a new font. Default font for WooCommerce has been changed from Helvetica to Source Sans. The font change provides users “greater depth and cohesion”. Some other small changes have been made to the design to fit the new font.

Introducing “Best Selling” Products

The theme also now offers a “best selling” products section on the home page. This is separate from product categories, recent products, featured products, top rated products and on sale products. Also, “Recent Products” has been renamed to “New In” and “Featured Products” have been changed to “We Recommend”.

Improved Appearance for Better Overall User Experience

Some other small changes have been put in place for better user experience. These include changes to styles, tables and embeds. The developers have also integrated with WordPress 4.5’s custom logo functionality. Adding a logo to your WooCommerce store is now made easier. Now there’s no need to install a plugin just to add your logo.

Popular Storefront Extensions

While Storefront provides a lot for free, there are some premium \add-ons that can add functionality or styling options to the theme.

Storefront WooCommerce Customiser

storefront-customizer

Without any custom code you can change or adjust labels and number of products displayed in homepage sections, which product details are shown on shop pages, and more.

It also lets you remove the product search and cart from the header.

Storefront Designer

storefront-designer

The Storefront Designer plugin adds the ability to change header layouts and make the header remain at the top of the page on scroll (sticky header). It also allows you to adjust button layouts and styles, and change some typography options.

Storefront Parallax Hero

storefront-paralax-hero

This plugin can be used to display a message and call to action over the top of an image on your homepage. It has a parallax effect, which means as the user scrolls the text and button appear to move over the image.

Child Themes

What is a child theme? According to the WordPress Codex:

A child theme is a theme that inherits the functionality and styling of another theme, called the parent theme. Child themes are the recommended way of modifying an existing theme.

In the case of Storefront, Storefront is the parent theme. You can check out the available child themes here.

Importance of a Child Theme – Easy and Safe Updates

When using a child theme, you will not lose any custom code or any custom styles that you have added to the child theme whenever you update the parent theme. Many website owners have learned the hard way losing custom code they have added to their themes after updating it. If you have a child theme, your custom updates are safe whenever a new version of the parent theme is available. We still recommend creating website backups every time you update your theme though.

Storefront: The Final Analysis

Simple, clear, and customizable, the Storefront theme for WordPress has everything to help you achieve success in e-commerce. For a free theme, the design is simple and no-nonsense and WooCommerce integration is unmatched by any other theme.

It may be too plain for some and if you are one of those, just ask yourself. Is it your personal taste and desire for it to look pretty, or is it a decision based on your user experience and the ultimate profitability of your site? In our experience, often the simpler the site the better is the user experience and the more profitable the website.

However, if you can’t find a Storefront child theme that resonates with you and don’t want the cost of a professional designer you might want to take a look at http://www.studiopress.com. They are the only other theme author we recommend if you don’t want to have troubles down the track when it comes to updates and customizations. It will take a bit more time to integrate with WooCommerce, but they have some lovely designs.

Filed Under: Theme and Plugin Reviews Tagged With: 404 error, checkout form, child theme, e-commerce, mobile friendly, plugins, shopping cart, Storefront, WooCommerce, woothemes

Choosing a Theme for WooCommerce – What to Consider?

October 23, 2015 By John Leave a Comment

There are thousands of free and premium WordPress themes. You might need some help in choosing a theme for WooCommerce. But how exactly do you pick one that’s right for your Woocommerce store?

This article explains what to look for to fit the design requirements of your store and also the functionality requirements and to make sure your new theme will play nicely with Woocommerce.

Different themes have different layout styles. Knowing what you want or need will make looking for a theme easier. Right sidebar, left sidebar, full-width, or maybe parallax? Are you going to be using image sliders? Also, it is important that the theme that you choose supports WooCommerce integration.

Once you know what you need, it might be a good idea to talk it over with your web developer. He might already know of a theme that will suit your purpose.

woocommerce-themes

Here are some criteria for choosing your theme:

Aesthetic Needs

Of course, you shouldn’t focus on the look alone. But, you also need to make sure that the theme matches the look and feel you want. You may be able to customize colors, but major changes on the design are best left to pros. As you choose a theme, it should meet at least 80% of your layout, visual, and content needs.

Stay away from poorly coded themes as this could spell problems for your website down the track when updates are needed.

Many themes also offer a lot of other functionalities that allow users to easily edit the look of their site. However, such themes could add unnecessary bloat to your website. This unnecessary bloat could put strain on your page load times and cost you sales.

Be cautious of Themeforest themes as they are notorious for this. Instead of using a theme with many customizable options, you’ll be better off editing the CSS of the child theme to get your desired look.

We recommend Genesis themes and Storefront.

WordPress Updates

Most themes should support the latest version of WordPress. Still, you should verify before making your purchase. Some older themes that are no longer being updated may not support the most recent updates to WordPress. It’s important to keep up with WordPress updates for functionality and security purposes.

WooCommerce Compatibility

Your theme should be able to integrate with WooCommerce.

WooThemes recommends doing a quick check. Take a look at the theme’s demo and view the source code. You can do this by right-clicking on the page and clicking on “View Page Source”. Look for the WooCommerce version meta tag. Search for the words: WooCommerce Version

The closer it is to the current release of WooCommerce, the better. If it is nowhere near, look elsewhere for a better theme.

Also, go with a theme that has less custom WooCommerce templates. This is because having a lot of WooCommerce templates customized will be a pain to update.

The theme should not have a lot of unnecessary customizations which can be done through a plugin.

Multiple Layouts

Review the theme description and demo to ensure that the theme supports the layout you want to create.  Look for the theme’s documentation and review it to know if the theme can accomplish what you need.

storefront

Don’t just assume that the theme you chose will accommodate one or two sidebars, full width pages, or columns within content.

Theme Navigation

How many menus do you plan on having? Some site owners need secondary menu for categories. Check if the navigation bar can accommodate all your primary menu options. If you hired a web developer, discuss your content sitemap and navigation requirements first before buying your new theme.

Call-to-Actions

As an e-commerce website, you want your visitors to do something and eventually buy your product.

call-to-actions

Make sure your theme can support your list of visitor to-do items. A cohesive design, with built-in options for call-to-actions is recommended.

SEO Friendly

WordPress is SEO friendly by default, but not all its themes are. To achieve an ideal SEO ranking, it’s important for search engines to digest your content. In this case, quality code and solid design architecture are required. Here’s a do’s and don’ts guide from Yoast to make your theme SEO friendly.

Level of support

Theme support is usually available by phone, email, video tutorial, instruction manuals, forums, etc.

support

However, some developers don’t have much time to provide support or answer forum questions that often. For beginners, make sure your theme offers lots of support features.

Reviews and Feedback

If there are available reviews, read through them thoroughly to point out any theme pros and cons.

reviews

Take note of trends, plugin conflicts, and complaints. It may not have a 100% satisfaction rating but a strong rating may be present. Look at both positive and negative feedbacks. Take negative feedbacks with a grain of salt.

Fixed vs Responsive

Most WordPress themes are now designed to be responsive. This means that your website adapts to fit the screen size of the device where it’s viewed. If a potential client is browsing your site, he’ll find it easy to navigate. Not all themes are responsive and since Google has started penalizing non-mobile responsive sites, a responsive design is the only way to go. There is no reason you should be creating a non-responsive site. Check out our post on Google’s Mobile-Friendly Update.

Do you have any more tips when choosing a theme for a WooCommerce site? Let us know in the comments.

Filed Under: How-To Articles, Theme and Plugin Reviews Tagged With: child theme, colors, Genesis, how-to, mobile friendly, responsive design, Storefront, WooCommerce, woothemes, WordPress, WordPress updates

How to Create a Child Theme for Storefront

February 26, 2016 By John 2 Comments

how-to-create-a-child-theme-for-storefront

Optimizing your website usually means making changes to your theme. These changes can range from simple to complex. It’s easy to make changes on your website but the problem is that you will lose all your changes when you update your theme.

There are ways to update your theme without losing your customizations and the best way is to use a child theme. In this post, we will teach you how you can use a child theme to make the website development process easier.

We’ll teach you how to create a child theme for Storefront theme. Storefront is the official theme for WooCommerce. It’s a good parent theme to work on as it’s built with the same high standards as WooCommerce. It is entirely free and 100% compatible with WooCommerce.

What is a Child Theme

A child theme is not a full theme. It only inherits all the code, styling and functionality of the main or parent theme. Changes made in a child theme do not affect the parent theme. This allows users to tweak a theme without having to worry about losing the customizations when updating the theme. Using a child theme is best practice for altering an existing theme.

A parent theme is the default of all your WordPress themes. It contains the templates, design and functionality needed to run your website on WordPress. Note that parent themes are different from theme frameworks. A parent theme is a complete theme that you can use right away while a theme framework like Genesis is a developmental template.

Why You Should Use a Child Theme

There are thousands of themes out there that you can use for your WordPress installation. The problem is they all look generic and may not exactly fit your website needs. Modifying the theme with CSS is recommended. Here are some reasons why you should use a child theme:

Speed Up Site Development

Child themes allow you to quickly add or modify specific functions or template files. It allows you to significantly speed up site development as you would not need to write a lot of code from scratch. You’ll get a great deal of flexibility especially from powerful theme frameworks like Genesis.

Preserve Theme Changes

Themes get updates from time to time. These updates are important as these address security exploits that come to light. Updating your theme will wipe all the changes you made to the base theme. However, if you use a child theme, you can preserve any changes you make to the child theme when you update the base theme.

Safe Fallback

Creating or editing a theme entails a lot of work. However, when you make customizations on a child theme, you have your parent theme’s codes and functionality as fallback in case you mess up something. The child theme will only change a specific function or style when you want it to.

Secure Your Site

WPBeginner found out that 83% of hacked WordPress sites are not upgraded properly. The safest way to update your theme is by using a child theme.

When to Use Child Themes

If you are in any way customizing your theme, then you should be using a child theme. Using a child theme is best practice.

If you are not familiar with CSS and PHP, creating your own child theme can be a challenge. You would also need to learn about the functionalities of your parent theme.

Robust frameworks can be more challenging as they have their own filters and hooks.

How to Create a Child Theme

Setting up a child theme for any WordPress theme is easy but you need to pick a good parent theme. Not all themes can be good parent themes. We recommend Storefront or the Genesis framework.

A good parent theme is a solid foundation for your site. You will be building your child theme over it so it has to be flexible and coded properly.

You can use plugins to generate a child theme or you can do it manually. You just need three things to start: child theme directory, style.css file and functions.php file.

Child Theme Folder

This folder will serve as the container for your stylesheet and function files. It is ideal to use the name of your parent theme as folder name and append it with “-child”. In this case, we named our directory “Storefront-child”. Make sure that your child theme’s directory name has no spaces to avoid possible errors. For the meantime, you can create this folder in your computer.

child-theme-folder

Child Theme Stylesheet

This is a basic style.css file. You need to set this stylesheet to inherit the styles from your parent theme. To do that, insert the stylesheet header below and replace them with relevant details. Note that customizations done here will override parent theme styles.

/*
 Theme Name:   Storefront Child
 Theme URI:    http://sitename.com/storefront/
 Description:  Storefront Child Theme
 Author:       Nick J
 Author URI:   http://sitename.com
 Template:     storefront /*this is case sensitive*/
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, full-width, responsive-layout, accessibility-ready
 Text Domain:  storefront-child
*/
/*Theme customisations start here*/

We won’t teach you how to use CSS. It is impossible to cover that in one article. You can learn CSS here or have a developer do the CSS tweaks on your website.

Child Theme Function

Previous methods suggest that you use “@import” in your stylesheet to load your child theme. This is no longer considered best practice. You just need to “enqueue” your parent theme’s stylesheet in your child theme’s functions.php file. To do this, you can use “wp_enqueue_scripts action” and use “wp_enqueue_style()”.

The stylesheet for your child theme is usually loaded automatically. If not, you will need to enqueue it as well. You also need to make sure that the child stylesheet gets priority. You can use the code below instead. This code sets ‘parent-style’ as a dependency so your child-theme stylesheet loads after it.

<?php
function theme_enqueue_styles() {
$parent_style = 'parent-style';
wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' ); wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css', array( $parent_style ) ); } add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
?>

Activation

To add a child theme to your WordPress themes, you need to create a .zip file of your child theme folder. You can use 7-zip or Winrar to do this. Make sure that you have your style.css and functions.php inside your child theme folder.

It is best to take note and keep records of other plugin settings before you activate your child theme. Once you’re done, you can upload this in your WordPress via Appearance > Add Themes.

child-theme-activation-storefront

WordPress will install your child theme just like any other theme. Once installed, you need to activate this by clicking on ‘Activate’.

child-theme-activation-storefront-2

You can also choose to activate your child theme later when you go to Appearance > Themes.

child-theme-activation-storefront-appearance-themes

Once installed or activated, you can apply any edits to functions.php and to the stylesheet directly on the child theme files

Popular Child Themes for Storefront

If creating your own child theme is proving to be a bit too difficult for you, you can always purchase one.

There are a handful of child themes for Storefront right now. Note that you should install Storefront base theme first before installing these child themes.

Boutique

boutique_popular-child-themes-for-storefront

Boutique is simple and easy to customize. You can start selling after you create your color theme, add your logo and content.

Deli

deli_popular-child-themes-for-storefront

If you want to add more personality to your store, you can use Deli. This child theme is great for small businesses. It has color schemes and textures that are inspired by nature.

Conclusion

Having a child theme is best practice when doing development work on your WooCommerce site. More importantly, using a child theme allows you to freely update your theme without losing any customizations you made on the child theme. A good and solid foundation is important for child themes. Hope this article has been helpful. Do you have any questions about child themes or anything you’d like to add? Let us know in the comments.

Filed Under: Code Snippets, How-To Articles Tagged With: best practices, child theme, code snippet, CSS, design tweaks, how-to, optimizations, Storefront, website development, website maintenance, WooCommerce, WordPress

How to Rename Primary Menu in Mobile View for Storefront Theme

February 26, 2015 By John 6 Comments

Updated 18/2/16 : Storefront Theme was updated. Adding a filter hook to rename the navigation.

Rename Primary Menu in Mobile View for Storefront ThemeIf you have donned the Storefront Theme by WooThemes and tested the mobile view, you might have noticed that your main navigation/menu turns into a collapsible menu. While this menu does serve its purpose in the mobile view, it being named “Primary Menu” isn’t very desirable. You most likely need to change it to something more appropriate for your needs.

Different websites have different navigations so from the theme developer’s standpoint, putting in a not very descriptive text like “Primary Menu” will serve its purpose just fine. But for a website owner like you who knows what he wants, you’d want something more specific for that mobile collapsible menu. Maybe you’re selling your own line of apparel and your menu is filled with different product categories, so you want the text to be something like “Product Categories”, “Browse Clothing Line” or maybe even make it a call-to-action like “Shop Now” or “Shop Online”. Bottomline, you know what you need the text to be on that mobile collapsible menu. Lucky for you, it’s easy enough to accomplish with a few lines of code.

Get a Child Theme

Before we proceed, make sure you are running your website on a child theme. To begin with, there is really no reason why you shouldn’t have a child theme unless you want any changes you made to your theme to disappear whenever the theme updates. If you don’t have a child theme yet, get one.

Add the Filter

Now that you have a child theme, paste this code into your child theme’s functions.php file.

add_filter( 'storefront_menu_toggle_text', 'jk_storefront_menu_toggle_text' );
function jk_storefront_menu_toggle_text( $text ) {
 $text = __( 'MY NAVIGATION' );
 return $text;
}

 

Change the Text

Do you see the line with the following code?

$text = __( 'MY NAVIGATION' );

You’ll just need to modify the text “MY NAVIGATION” and change it with the text that you want on your collapsible mobile menu.

 

Filed Under: Code Snippets, How-To Articles Tagged With: call-to-action, child theme, code snippet, design tweaks, how-to, mobile friendly, navigation, responsive design, Storefront, woothemes

Let us support your online store so you can manage your business

Get started today

Get 2 Hours of FREE SUPPORT

We are so confident that you will love our services that we will give you your first 4 hours at a 50% discount

That’s 4 hours for only $75

BUY NOW

Free eBook

5 Things Every Online Store Can Fix On Their Website In The Next Week To Increase Sales

Quick Links

  • How it Works
  • Pricing
  • Blog
  • Contact
  • About Wooassist
  • My Account
  • Checkout
  • Privacy Policy
  • Cookie Policy
  • Terms and Conditions

Wooassist

Australia:
59 Luke St.
Hemmant QLD 4174

Philippines:
San Miguel St.
Poblacion, Iligan City 9200

Connect

     

Copyright © 2026 · Wooassist

Yours FREE!

5 Things Every Online Store Can Fix On Their Website In The Next Week To Increase Sales