This is a discussion on horizontal CSS menu within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; Hi, I was needing some pointers or help on which file i should be looking at so i can have ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hi, I was needing some pointers or help on which file i should be looking at so i can have a horizontal CSS menu like this Dynamic Drive CSS Library- Chrome Menu Bar on my website, I would really appreciate any help you can offer. Thanks in advance. |
|
#2
| |||
| |||
| Ok Seems i got one working (works for me) what i did is the following (hopefuly will help anyone else looking for something similar) Firstly I opened up main_page.tpl.php from the template dir and added the following after these lines : PHP Code: PHP Code: Code: /*- Menu Tabs --------------------------- */
<style type="text/css">
/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */
#chromemenu{
width: 99%;
font-weight: bold;
font-size: 90%;
}
#chromemenu:after{ /*Add margin between menu and rest of content in Firefox*/
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
#chromemenu ul{
border: 1px solid #BBB;
width: 100%;
background: url(images/chromebg.gif) center center repeat-x;
padding: 5px 0;
margin: 0;
text-align: left; /*set value to "right" for example to align menu to the left of page*/
}
#chromemenu ul li{
display: inline;
}
#chromemenu ul li a{
color: #494949;
padding: 5px;
margin: 0;
text-decoration: none;
border-right: 1px solid #DADADA;
}
#chromemenu ul li a:hover{
background: url(images/chromebg2.gif) center center repeat-x;
}
</style>
|
| The Following User Says Thank You to theengineer For This Useful Post: | ||
michael_s (07-21-2007) | ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CSS Menu | michael_s | New osCommerce Contributions | 2 | 05-06-2007 08:41 PM |
| cool menu vs dhtml menu | Lara Croft | osCMax v2 Features Discussion | 3 | 01-17-2007 12:38 PM |
| Create multple mainpages avail from horizontal dropdown menu | fuzzyphil | osCMax v2 Customization/Mods | 1 | 12-23-2005 09:38 PM |
| Adding cool menu and keeping the catorory menu??? | Kyle_Bassett | osCMax v2 Customization/Mods | 0 | 10-18-2005 09:17 AM |
| making the catalog menu same style as admin menu | starchild | osCommerce 2.2 Modification Help | 0 | 06-01-2003 04:42 AM |