[solved] hr under every level 1 menu items

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
User avatar
nakkiel
Forum Members
Forum Members
Posts: 70
Joined: Wed Apr 02, 2008 7:15 am

[solved] hr under every level 1 menu items

Post 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;
}
Last edited by nakkiel on Thu May 29, 2008 4:59 am, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: hr under every level 1 menu items

Post 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...
User avatar
nakkiel
Forum Members
Forum Members
Posts: 70
Joined: Wed Apr 02, 2008 7:15 am

Re: hr under every level 1 menu items

Post by nakkiel »

Man... Every day you learn something new about CMSMS, thanks again mark ;D
Post Reply

Return to “Layout and Design (CSS & HTML)”