Difference between revisions of "Simple Theme - your store's header"
From Spiffy Stores Knowledge Base
Line 114: | Line 114: | ||
<br><br> | <br><br> | ||
===Supported Mega Menu Styles=== | ===Supported Mega Menu Styles=== | ||
+ | A mega menu can be up to 10 columns wide. We do recommend you use a maximum of 6 though, as things can get a little squished on smaller devices. Columns are automatically calculated based on the number of top level items you have in your mega menu. | ||
+ | |||
<html> | <html> | ||
<style type="text/css"> | <style type="text/css"> |
Revision as of 14:44, 9 June 2022
The header of your store contains the following...
- A currency converter
- An announcement bar
- Icons for search, customer pages, a customer wishlist, and the cart
- Your logo or store name
- Your top menu
- A favicon that appears in the tab of the browser
Each of the options can be configured in the "Header" section of your Theme editor.
To get to your Theme editor, go to the "Design & Assets -> Theme editor" section of your store's admin area.
Contents
Enabling the currency converter
The currency converter will enable you to display prices in every currency that you have configured support for in the Preferences > Regions & Taxes section of your store's admin.
Once you have configured your Regions & Taxes, it's a simple matter of enabling the "Display a currency converter?" option in your Theme Editor.
Setting up the Announcement Bar
With version 1.1 of the theme, we have added a close button so your customers can hide the announcement bar in the storefront. This creates a cookie that keeps the announcement bar hidden for 24 hours. If you close the announcement bar and want to preview it, you'll need to either clear the cookies in your browser, or delete the cookie called "SpiffyAnnouncementBar".
Settings for the Announcement bar are fairly straightforward...
- Enable or disable the announcement by checking/unchecking the "Display an announcement?" box.
- Announcement text is the text you want to display. You can use normal text and also HTML to create links.
- Text colour is the colour you want the text to display.
- The announcement can be animated with a subtle pulse when you load a page by enabling the "Animate announcement?" option.
Enabling the Customer Wishlist
You can enable the Wishlist functionality in your Theme Editor. To do this, follow the instructions below.
- If you're already logged in, go the the Design & assets -> Theme editor section of your store's admin area.
- Open up the "header" section.
- Tick the option next to Display customer wishlist?
- Click Save Settings
Uploading your logo
You should upload a transparent PNG of your logo to get it looking great... otherwise it will be in a big white box! The theme editor will resize the logo for you when you upload it, but you will get a much better result if you resize your logo before uploading it.
- Tick the "use a custom logo?" option
- Upload your logo image
- Click the "Save Settings" button
- Check your logo size is OK by previewing your store. If you need to adjust the size, increase or decrease the "Max Logo Width" setting. Whenever you change this setting, you will need to re-upload your logo.
A tall thin logo will not look good in this theme, and you would do better getting a designer to come up with an alternative solution for you. If you need assistance with this, please contact us.
Using Pixlr to create create a logo image
Pixlr is a free online image editing program, where you can edit your images in your web browser.
- Go to the Pixlr editor
- Click "Create a new image"
- Set the width to 580 and the height to 200, tick the "Transparent" box, and click OK. 580px is the maximum width that your logo will be displayed in your store, unless you have altered the size in the "Max Logo Width" setting. 200px is the recommended logo height.
- You now have your canvas to work within. You will need to explore the various tools and options.
- Open your own logo image in Pixlr using "File -> Open image" in the Pixlr menu. Select the "Wand" tool, and select only the type and any icons in your logo. There are also various other tools available so that you can select your logo without the background.
- Once you have your logo selected, you can then copy and paste it into your canvas.
- When you have pasted your logo image into the canvas, you can resize it by using the <CTRL> and <T> keys on your keyboard. Make sure you're viewing it at 100%, and see if you can get it centered with a bit of space around it. You can then crop closer to the edges of your logo image using the crop tool.
- When your logo is looking gorgeous, save it by choosing "File -> Save" from the Pixlr top menu.
- Choose "PNG (Transparent full quality) for your format, and save it to your computer
- When you've saved the file to your computer, upload it in your Theme Editor.
By default, the Simple theme uses the menu called "Top menu" in your store's header.
If you're switching to the Simple theme from another theme, and have all of your menu items in a different menu, simply select the menu you want to use and click the Save Settings button.
The Simple theme supports up to 4 levels of drop-down menus. This should be plenty. If you have more complex menu requirements, then you'll likely want to create a mega menu. Instructions for creating a mega menu can be found below.
There's no mucking about with code to get your drop-down menus working. You can create them simply by following the simple steps below. One important note though... you can't create links to nothing! If you haven't created the page or collection you want to link to, you need to create them first.
First item
- Log in to your store's Toolbox and go to the "Store menus" tab
- Scroll down to the "Top Menu" section, and click "Add new Menu Item"
- Type in the name of your menu item
- Select whether you want your menu item to link to a page, product, or collection
- A new list of options will appear. Select the name of your page that you want to link to.
- Click the "Add menu item" button to save.
Sub item
- Create another menu item the same way you created one above
- Click the "Reorder" link
- Click and drag the item you want to drop down to the right (so it sits directly underneath and to the right of the one above - see example)
- Click "Done reordering"
Previewing your store should show your second item as a drop-down. You can do this with multiple levels, and re-arrange your menus by dragging items up, down, left, or right whilst you're in "re-order" mode.
Adding a Mega Menu
The Simple theme versions 1.3 and above include mega menus. Please note that the video tutorial below will only work versions on 1.3 and above of the Simple Theme. This video tutorial walks you through the process of setting up a mega menu to show a large amount of collections in one menu.
Supported Mega Menu Styles
A mega menu can be up to 10 columns wide. We do recommend you use a maximum of 6 though, as things can get a little squished on smaller devices. Columns are automatically calculated based on the number of top level items you have in your mega menu.
mega-menu | Used on a first level drop-down menu to specify that it is a mega menu. |
---|---|
title | Specifies a menu item as a title, so it displays slightly larger and bolder. |
image | Specifies a menu item as an image. Without this style, results can be unusual. |
image-two-columns | An image that spans 2 columns in relation to the number of columns used. |
image-three-columns | An image that spans 3 columns in relation to the number of columns used. |
image-four-columns | An image that spans 4 columns in relation to the number of columns used. |
image-five-columns | An image that spans 5 columns in relation to the number of columns used. |
image-six-columns | An image that spans 6 columns in relation to the number of columns used. |
Adding a favicon to your store
A favicon is a small image that is shown inside the browser's location bar and bookmark menu when your site is called up. It is a good way to brand your site and increase it's prominence in your visitor's bookmark menu.
A transparent png would work best.
- Tick the "Use a custom icon?" option
- Upload your image
- Click the "Save Settings" button