• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Menu Font Size "Solved"
PostPosted: Fri Feb 04, 2011 8:01 am 
Offline
Forum Members
Forum Members

Joined: Thu Dec 23, 2010 5:08 am
Posts: 18
Hello, I am using CMSMS 1.9.1 with Left Simple Navigation Template and the simple verticle menu. My problem is I want to make the font size larger on the menu. I have looked in the style sheet and I have looked at the source code and had a look with Firebug, but Im not getting where the style is for that. Any help greatly apreciated....Matt
http://www.pipecowa.com/index.php

/******************** MENU *********************/
#menu_vert {
margin: 0;
padding: 0;
}
#menu_vert ul {
/* remove any bullets */
list-style: none;
/* margin/padding set in li */
margin: 0px;
padding: 0px;
}
#menu_vert ul ul {
margin: 0;
/* padding right sets second level li in on right from first li */
padding: 0px 5px 0px 0px;
/* replaces bottom of li.menuactive menuparent, looks like li below it, set in 5px more, is sitting on top of it */
background: transparent url([[root_url]]/uploads/ngrey/liup.gif) no-repeat right -4px;
}
#menu_vert li {
/* remove any bullets */
list-style: none;
/* negative bottom margin pulls them together, images look like one border between */
margin: 0px 0px -1px;
/* bottom padding pushes "a" up enough to show our image */
padding: 0px 0px 4px 0px;
/* you can set your own image here */
background: transparent url([[root_url]]/uploads/ngrey/liup.gif) no-repeat right bottom;
}
#menu_vert li.currentpage {
padding: 0px 0px 3px 0px;
}
#menu_vert li.menuactive {
margin: 0;
padding: 0px;
/* replaced by image in ul ul */
background: none;
}
#menu_vert li.menuactive ul {
margin: 0;
}
#menu_vert li.activeparent {
margin: 0;
padding: 0px;
}
/* fix stupid IE6 bug with display:block; */
* html #menu_vert li {
height: 1%;
}
* html #menu_vert li a {
height: 1%;
}
* html #menu_vert li hr {
height: 1%;
}
/** end fix **/
/* first level links */
div#menu_vert a {
/* IE6 has problems with this, fixed above */
display: block;
/* some air for it */
padding: 0.8em 0.3em 0.5em 1.5em;
/* this will be link color for all levels */
color: #18507C;
/* Fixes IE7 whitespace bug */
min-height: 1em;
/* no underline for links */
text-decoration: none;
/* you can set your own image here this is tall enough to cover text heavy links */
background: transparent url([[root_url]]/uploads/ngrey/libk.gif) no-repeat right top;
}
/* next level links, more padding and smaller font */
div#menu_vert ul ul a {
font-size: 90%;
padding: 0.8em 0.3em 0.5em 2.8em;
}
/* third level links, more padding */
div#menu_vert ul ul ul a {
padding: 0.5em 0.3em 0.3em 3em;
}
/* hover state for all links */
div#menu_vert a:hover {
background-color: transparent;
color: #595959;
text-decoration: underline;
}
div#menu_vert a.activeparent:hover {
color: #595959;
}
/* active parent, that is the first level parent of a child page that is the current page */
div#menu_vert li.activeparent {
/* you can set your own image here */
background: transparent url([[root_url]]/uploads/ngrey/liup.gif) no-repeat right -65px;
/* white to contrast with background image */
color: #fff;
}
div#menu_vert li.activeparent a.activeparent {
/* you can set your own image here */
background: transparent url([[root_url]]/uploads/ngrey/libk.gif) no-repeat right top;
/* to contrast with background image */
color: #000;
}
div#menu_vert li a.parent {
/* takes left padding out so span image has room on left */
padding-left: 0em;
}
div#menu_vert ul ul li a.parent {
/* increased padding on left offsets it from one above */
padding-left: 0.9em;
}
div#menu_vert li a.parent span {
display: block;
margin: 0;
/* adds left padding taken out of "a.parent" */
padding-left: 1.5em;
/* arrow on left for pages with children, points down, you can set your own image here */
background: transparent url([[root_url]]/uploads/ngrey/active.png) no-repeat 2px center;
}
div#menu_vert li a.parent:hover {
/* removes underline hover effect */
text-decoration: none;
}
div#menu_vert li a.parent:hover span {
display: block;
margin: 0;
padding-left: 1.5em;
/* arrow on left for pages with children, points right for hover, you can set your own image here */
background: transparent url([[root_url]]/uploads/ngrey/parent.png) no-repeat 2px center;
}
div#menu_vert li a.menuactive.menuparent {
/* sets it in a little more than a.parent */
padding-left: 0.35em;
}
div#menu_vert ul ul li a.menuactive.menuparent {
/* sets it in a little more on next level */
padding-left: 0.99em;
}
div#menu_vert li a.menuactive.menuparent span {
display: block;
margin: 0;
/* to contrast with non active pages */
font-weight: bold;
padding-left: 1.5em;
/* arrow on left for active pages with children, points right, you can set your own image here */
background: transparent url([[root_url]]/uploads/ngrey/parent.png) no-repeat 2px center;
}
div#menu_vert li a.menuactive.menuparent:hover {
text-decoration: none;
color: #18507C;
}
div#menu_vert ul ul li a.activeparent {
color: #fff;
}
/* current pages in the default Menu Manager template are unclickable. This is for current page on first level */
div#menu_vert ul h3 {
display: block;
/* some air for it */
padding: 0.8em 0.5em 0.5em 1.5em;
/* this will be link color for all levels */
color: #000;
/* instead of the normal font size for <h3> */
font-size: 1em;
/* as <h3> normally has some margin by default */
margin: 0;
/* you can set your own image here, same as "a" */
background: transparent url([[root_url]]/uploads/ngrey/libk.gif) no-repeat right top;
}
/* next level current pages, more padding, smaller font and no background color or bottom border */
div#menu_vert ul ul h3 {
font-size: 90%;
padding: 0.8em 0.5em 0.5em 2.8em;
/* you can set your own image here, same as "a" */
background: transparent url([[root_url]]/uploads/ngrey/libk.gif) no-repeat right top;
color: #000;
}
/* current page on third level, more padding */
div#menu_vert ul ul ul h3 {
padding: 0.6em 0.5em 0.2em 3em;
}
/* BIG NOTE: I didn't do anything to these, never tested */
/* section header */
div#menu_vert li.sectionheader {
border-right: none;
padding: 0.8em 0.5em 0.5em 1.5em;
background: transparent url([[root_url]]/uploads/ngrey/libk.gif) no-repeat right top;
line-height: 1em;
margin: 0;
color: #18507C;
cursor:text;
}
/* separator */
div#menu_vert .separator {
height: 1px !important;
margin-top: -1px;
margin-bottom: 0;
-padding: 2px 0 2px 0;
background-color: #000;
overflow: hidden !important;
line-height: 1px !important;
font-size: 1px;
/* for ie */
}
div#menu_vert li.separator hr {
display: none;
/* this is for accessibility */
}


Last edited by hagar on Fri Feb 04, 2011 1:00 pm, edited 1 time in total.

Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Menu Font Size
PostPosted: Fri Feb 04, 2011 11:36 am 
Offline
Power Poster
Power Poster

Joined: Mon Nov 05, 2007 11:35 am
Posts: 539
hagar \hagar:
and had a look with Firebug, but Im not getting where the style is for that.

mysterious, my firebug says its in line 3 of formbuilder-css.

but;
why not add the size to:
\$1:
\$1:
#menu_vert {
   margin: 0;
   padding: 0;
}

?

_________________
Unablässige Tools für's Webdevelopement/ Fehlerfindung:
CSS Validierungsservice
Bildschirmlineal
Firebug
Tidy
Deutsche CSS-Referenz


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Menu Font Size
PostPosted: Fri Feb 04, 2011 12:59 pm 
Offline
Forum Members
Forum Members

Joined: Thu Dec 23, 2010 5:08 am
Posts: 18
thanks dude Ill have to add it in because its getting set else where........Thanks


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting