Page 1 of 1

[solved] hr under every level 1 menu items

Posted: Wed May 28, 2008 9:54 am
by nakkiel
How can I put under every menu item in level 1? Not level 2. I know there's something called "hr separator", and I have tried to figure out the css for that. I copied the separator css from the default cmsms installation with no result, I can't get a line under level 1 menu items. Then I modified the menu template and got hr under menu items, but not the last one (I need it there too).

I'm using cssmenu template and tried to create a css for it myself but... Well here's that css too:

Code: Select all

#menu {
   color: #752B2B;
   font-family: arial, helvetica, sans-serif;
   font-size: 8pt;
   font-weight: bold;
   padding-top: 47px;
   padding-left: 0px;
   padding-right: 0px;
   padding-bottom: 0px;
   width: 170px;
}

#primary-nav a {
   color: #752B2B;
   text-decoration: none;
}

#primary-nav li {
   color: #752B2B;
   font-family: arial, helvetica, sans-serif;
   font-size: 8pt;
   font-weight: bold;
   list-style-type: none;
}

#primary-nav li li {
   font-family: arial, helvetica, sans-serif;
   font-size: 8pt;
   font-weight: normal;
   list-style: none;
}

#primary-nav ul {
   margin-left: 10px;
   padding-left: 10px;
}

Re: hr under every level 1 menu items

Posted: Thu May 29, 2008 3:03 am
by Dr.CSS
The hr separator is just from using Content Type: separator that you can put in the menu under menu items, make a new page and use the content type separator...

Once made you can move them around with the reorder pages link...

The default CSS for this is to make it not appear so you will have to come up with your own style...

Re: hr under every level 1 menu items

Posted: Thu May 29, 2008 4:59 am
by nakkiel
Man... Every day you learn something new about CMSMS, thanks again mark ;D