Left Top and Left Center menus can now have custom CSS styles. In order to use this feature you need to know what CSS is, and you need to be able to develop your own custom templates.
When developing your own template, adjust your CSS stylesheet and add in the following classes
Top Menu - Red MenuThe Top Menu is constructed from a table. You may use the following classes to override the way the table is rendered.
table level - leftmenutop
table row level - leftmenutop
table cell level - leftmenutop
Hyperlink URL - leftmenutoplink
Left Center Main - Main MenuThe sub menus are the menus that appear at the top of the left area when you go into a main choice such as Books, Bibles etc.
There are div classes and text span classes that you can use.
The submenu title div - leftmenucentersubheading
the submenu text span class - leftmenucentersubheadingtext
The level 1 menu items - leftmenucentersublevel1
The level 2 menu items - leftmenucentersublevel2
The level 3 menu items - leftmenucentersublevel3
The level 4 menu items - leftmenucentersublevel4
As well as the sub menu there is the main menu, which is the way most submenus are invoked. For example the main menu lists items such as books, bibles, music, etc.
The divs for the main menu and the span classes are as follows:
the main menu heading - leftmenucenterheading
the main menu heading text - leftmenucenterheadingtext
The main menu main body div - leftmenucenterbody
The main menu level 0 headings - leftmenucenterbodylevel0
The main menu level 1 headings - leftmenucenterbodylevel1
Simply create class names for all of these elements in your CSS, and you will be able to override the presentation to customize fonts, colors, backgrounds, padding and other visual attributes.
How To Activate These Custom Styles?Once you have created your custom styles, you will need to activate them. Simply defining these classes in your CSS is not going to be enough. The menus are normally generated with a number of STYLE= attributes. These will override by default anything you setup in your CSS file. You will need to tell your store to switch off the insertion of the default STYLE elements into your menus. This is done by going to the SET ACTIVE THEME option within the STORE SETTINGS area, and choosing the option to turn off the default menu CSS options. Your menus will then be generated without any STYLE tags in the HTML, allowing the CLASS= tags to take precidence and giving you your customized menu layout.
Example CSS to Embed In Your Style SheetHere is some sample CSS that you can embed in your style sheet to start tinkering with your menu:
/* LEFT TOP MENU (DEFAULT IS RED) */
.leftmenutop td, th {
cursor:pointer;
background:#CC3333;
color:#FFFFFF;
padding:1px;
margin:0px;
text-align:center;
}
.leftmenutoplink a {
color:#FFFFFF;
font-weight:bold;
text-align:center;
}
/* LEFT CENTER MENU (THIS IS THE MAIN LEFT MENU WITH ACCESS TO ALL THE CONTENT PAGES) */
.leftmenucentersubheading{
background: #306090;
padding:3px;
font-weight:bold;
color:#FFF;
text-align:center;
}
.leftmenucentersubbody{
padding:4px;
text-align:left;
}
.leftmenucentersublevel1{
font-weight:bold;
font-size:1em;
text-align:left;
margin-bottom:2px;
}
.leftmenucentersublevel2{
font-size:1em;
text-align:left;
margin-bottom:2px;
margin-left:15px;
}
.leftmenucentersublevel3{
font-size:1em;
text-align:left;
margin-bottom:2px;
margin-left:30px;
}
.leftmenucentersublevel4{
font-size:1em;
text-align:left;
margin-bottom:2px;
margin-left:45px;
}
.leftmenucenterheading{
background: #306090;
padding:3px;
font-weight:bold;
color:#FFF;
text-align:center;
}
.leftmenucenterbody{
padding:4px;
text-align:left;
}
.leftmenucenterbodylevel0{
font-size:1em;
color:#222;
text-align:left;
margin-top:2px;
margin-bottom:2px;
font-weight:bold;
}
.leftmenucenterbodylevel1{
font-size:1em;
text-align:left;
margin-bottom:2px;
margin-left:15px;
}
Enjoy,
The deeperShopping Team.