A WordPress child theme is a theme that inherits the functionality of another theme, called the parent theme. Child themes allow you to modify, or add to the functionality of that parent theme. —WordPress Codex: Child Themes
Galleria is a child theme for Storefront, the official WooCommerce theme. If offers a clean cut, minimalist design that lends itself to high quality items and fashion.
To help set up your theme follow the documentation below and be sure to reference the Storefront theme documentation if you are not familiar with the main features/setup of Storefront.
Installation ↑ Back to top
As Galleria is a Storefront child theme, you will first need to install and set up Storefront itself. You can read all about installing that over on our Installing & Configuring Storefront documentation.
To install Galleria, upload the ‘galleria’ directory to your
Once uploaded / installed you can activate Galleria by navigating to Appearance > Themes.
Homepage Template ↑ Back to top
To setup the themes homepage page template this is covered in our Storefront Documentation in the section titled Homepage Template.
Recommended Image Sizes ↑ Back to top
On product archives, Galleria reveals product details (price, title, ratings, add to cart button) on hover, so it’s highly recommended that you set catalog images to render in portrait orientation. Single / Thumbnail images can be set to any dimension without negative affect.
Below are the settings we use on our Galleria demo site for reference.
The original uploaded images are at a size of 577px in width by 866px in height before being uploaded. The WooCommerce image settings above can be located at WooCommerce > Settings > Products > Display.
Remember, once you update any image dimensions in WooCommerce you’ll need to run the Regenerate Thumbnails plugin to regenerate all pre-existing thumbnails and re-crop them to the new sizes that you selected.
Note: For further information on the WooCommerce image sizes you can reference these two resources below.
- WooCommerce Image Size Settings Documentation
- WooCommerce Using Appropriate Image Sizes Documentation
Product archive and shop layout ↑ Back to top
By default, Galleria arranges products using a ‘Masonry’ layout. This means that products are laid out adjacently regardless of their height.
In addition to this Galleria includes ‘product-focus’ styling that increases the size of products on the shop page which creates a unique and engaging design. Note that if you’re using the Storefront WooCommerce Customizer extension that the ‘product-focus’ styling is applied to 4 and 5 column layouts only. The reason for this is that 3 (and below) column layouts do not work very well with this style.
The Masonry and ‘product-focus’ layout might not be for every store and is ultimately dependent on the type of product imagery you have. As of Galleria 2.0, there’s an option to disable both the Masonry layout and the ‘product-focus’ styling.
In order to change the product layout,
- Go to: Dashboard > Appearance > Customize.
- Select Galleria in the customizer.
- Choose the preferred layout.
Product demo content ↑ Back to top
To install some demo content for products as a starting point you can import the WooCommerce Dummy Data that will populate your site with demo products for you.
Note: We do not supply the exact images you see on our Galleria demo within the WooCommerce Dummy Data as the sites images cannot be redistributed due to copyright restrictions and are for demo purposes only. The WooCommerce Dummy Data instead comes with our own unique unrestricted images that we can redistribute within product import data.
FAQ ↑ Back to top
I’m using the Storefront Designer extension but noticed some settings are missing ↑ Back to top
Galleria applies some specific styles to elements like buttons, so these settings are removed from the designer to avoid confusion.
On the demo there is pagination on the single product pages, how do I enable that? ↑ Back to top
Easy. Just install the Storefront Product Pagination plugin.
On the demo there are sharing buttons on the single product pages, how do I enable that? ↑ Back to top
Easy. Just install the Storefront Product Sharing plugin.
On the demo, there is a content bar in the footer, how do I enable that? ↑ Back to top
Easy. Just install the Storefront Footer Bar plugin. Then add a text widget to the newly created widget region via Appearance > Widgets.
On the demo, in the sidebar there is a product highlight, how do I create that? ↑ Back to top
This is an instance of the Storefront Product Hero extension added to the sidebar via shortcode inside a text widget.
On the demo homepage there is a large sale banner, how can I add that to my site? ↑ Back to top
This is an instance of the Storefront Parallax Hero extension.
I’m using the homepage template but don’t want to display the the page title / content ↑ Back to top
If you don’t want to display content simply don’t add any. To hide the title you can use this plugin which gives you the ability to hide the page title on any page across your site. Alternatively use the Homepage Control plugin to toggle the display of this component.
Can I customize the look and feel of my blog pages? ↑ Back to top
You sure can. Take a look at the Storefront Blog Customiser extension to see what’s possible.
Can I customize the look and feel of my checkout? ↑ Back to top
You sure can. Take a look at the Storefront Checkout Customiser extension to see what’s possible.
Can I customize the look and feel of my WooCommerce pages? ↑ Back to top
You sure can. Take a look at the Storefront WooCommerce Customiser extension to see what’s possible.
How can I customize my site when using a child theme? ↑ Back to top
A lot of WordPress tutorials will recommend inserting code snippets into a child themes functions.php file. This is to ensure that you’re always able to update the parent theme without losing your changes. As Galleria is already a child theme, you aren’t able to do this. Any changes you add to Gallerias functions.php file will be lost when you perform an update. Instead, it is recommended that you add any code snippets to a customization plugin. We’ve created a plugin you can use to do just this. Download here.