• 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  [ 8 posts ] 
Author Message
 Post subject: [SOLVED] Main Navigational Menu Formatting
PostPosted: Fri May 16, 2008 7:09 pm 
What is the best way to modify the look/feel of the main nav menu corresponding to the various pages in a site?

I embedded the {menu} tag in the appropriate div in my site's main template and have set Accessibility and Cross Browser Tools as an associated stylesheet. I looked for menu parameters to change in this stylesheet but have not found any real style controls (i.e. borders, fonts, margins, etc) for the menu appearance. Currently, menu items appear with bullets appended to them (i guess the menu is currently set to appear as an unordered list). I would ideally like to have the menu formatted according to the style parameters specified in my primary stylesheet.

Thanks in advance for any tips and enlightenments.


Last edited by vangabond on Sun May 18, 2008 1:53 am, edited 1 time in total.

Top
  
 
 Post subject: Re: Main Navigational Menu Formatting
PostPosted: Fri May 16, 2008 7:14 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Fri Feb 02, 2007 4:31 pm
Posts: 2395
Location: Comox Valley, BC
You need to attach the appropriate menu stylesheet for the type of menu you're using, i.e css vs simple and horizontal vs vertical.
Within that stylesheet, you can make the changes to match your main stylesheet.

Nullig

_________________
Come play in the Sandbox at my CMS Made Simple demo site: http://www.cmsmsdemo.com.


Top
 Profile  
 
 Post subject: Re: Main Navigational Menu Formatting
PostPosted: Fri May 16, 2008 7:17 pm 
Making some progress here. I have managed to successfully modify Menu parameters within my stylesheet. Although my stylesheet does not specify that menu items should appear in the form of a list, they do continue to renderwith a bullet appended to them however. Any thoughts on this?

Thanks much.


Top
  
 
 Post subject: Re: Main Navigational Menu Formatting
PostPosted: Fri May 16, 2008 7:33 pm 
Nullig. Thanks for the insight; I think I am on my way. I still can not get rid of the bullet in front of the menu items though (i actually only have one menu item at this point, but it has a bullet in front of it.) I went into the horizontal menu stylesheet and set the list-styles to none for every active style on the sheet (i did not bother with the styles that are commented out by default). I also went into the main stylesheet for the site template and set list-styles to none for the div that contains the menu. Just can't get rid of the darn bullet though. Any additional insights?

Thanks mucho.


Top
  
 
 Post subject: Re: Main Navigational Menu Formatting
PostPosted: Sat May 17, 2008 4:04 am 
Offline
Administrator
Administrator
User avatar

Joined: Thu Mar 09, 2006 5:32 am
Posts: 10250
Location: Arizona
Are you using a default style sheet or your own and what is the CSS code?...

_________________
Extensions » Modules/Tags click the name of the module/tag or Help to the right to get the parameters it takes
Right click and view source is a great way to see what you have to work with
Check ver. CMSMS, PHP, server OS, in System Information page
Default content, read it here, http://multiintech.com/defaultcontent/
People are Wonderful Business is Great Life is Terrific
Image


Top
 Profile  
 
 Post subject: Re: Main Navigational Menu Formatting
PostPosted: Sat May 17, 2008 4:47 pm 
hey mark -

i do use a combination of my own stylesheet as well as the simple-horizontal menu stylesheet that ships with CMSMS. the only menu specifications i have in my own stylesheet is the div for placing the menu in the right location on the page and some basic font specifications. here is the code:

#menu {
margin: 0px 0px 0px 0px;
padding: 0px;
width: auto;
height: 20px;
border-top: 0px solid #999999;
border-bottom: 3px solid #999999;
background-color: yellow;
text-align:center;
color: #666666;
font-size: 14px;
z-index: 12;
}

what is strange is that the menu items list VERTICALLY (even though i am using the simple-horizontal stylesheet) and there is this most annoying bullet that appears before each item. you can see how the menu renders by visiting this link:

http://www.marcohaber.com/cmsmadesimple/index.php

any additional advice would be great. i am sort of at a loss here.

thanks.

marco


Top
  
 
 Post subject: Re: Main Navigational Menu Formatting
PostPosted: Sat May 17, 2008 6:52 pm 
Offline
Administrator
Administrator
User avatar

Joined: Thu Mar 09, 2006 5:32 am
Posts: 10250
Location: Arizona
Your page source and CSS don't jibe, in the CSS it's menu_horiz as a div id and in the template it's menu,change one of them...

_________________
Extensions » Modules/Tags click the name of the module/tag or Help to the right to get the parameters it takes
Right click and view source is a great way to see what you have to work with
Check ver. CMSMS, PHP, server OS, in System Information page
Default content, read it here, http://multiintech.com/defaultcontent/
People are Wonderful Business is Great Life is Terrific
Image


Top
 Profile  
 
 Post subject: Re: Main Navigational Menu Formatting
PostPosted: Sun May 18, 2008 1:53 am 
Hey Mark - Thanks for the tip; it brought me WAY closer to getting the menu formatting all sorted out. And now, finally, the menu seems to be ok. With regards to your suggestion, I actually needed to insure that BOTH the #menu and #menu_horiz styles were included in the template. The reason for this is that the menu div is used to position the menu on the page. Without it, the menu would not sit in the right spot. All of the other menu styling is then accomplished with the menu_horiz style that comes by default with the simple horizontal menu. In short, the menu_horiz div needs to be nested within the menu div, as seen in the code below:



Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 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:  
Arvixe - A CMSMS Partner