[Solved] navigation 1st level bold

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
Longwolf
Forum Members
Forum Members
Posts: 12
Joined: Fri Mar 14, 2008 1:46 pm

[Solved] navigation 1st level bold

Post by Longwolf »

Hi,

I am using CMSms Version 1.7 currently and the clean orange theme for the www.killercat.net page.

in the vertical menu there are 1st and 2nd level links
  the "issue" is, how does a reader of the page know, if there is a subpage below a 1st level link ...
  currently I solved it in a way, that I added a "+" in Front of such a 1st level link

is there a possibility to make such 1st level links automatically eg. bold?
  I found in the css how the 1st, 2nd, ... level links can be formatted - but I wanted to highlight only 1st level menu points, where there are also 2nd level menu points

kind regards & thanks for comments
Markus
Last edited by Longwolf on Sun Oct 03, 2010 6:37 pm, edited 1 time in total.
uniqu3

Re: [Question] navigation 1st level bold

Post by uniqu3 »

Yes there is a way, you would need to add a class in MenuManager template, for better help it would be good to see how your MenuManager template looks like.
But for example in your MenuManager template there should be something like $node->haschildren this is where you add a class to or element for example class="parent".

Then you have to edit your css according to the class assigned for example if added to element:

div#menu_vert a.parent {
font-weight:bold;}

Hope this gets you on the right track.
Longwolf
Forum Members
Forum Members
Posts: 12
Joined: Fri Mar 14, 2008 1:46 pm

Re: [Question] navigation 1st level bold

Post by Longwolf »

Hi,

thanks for your Input!
I use the standard "clean orange" template + as a menu manager template "accessible_simple_navigation.tpl"
this means, that I have to make a copy of the "accessible_simple_navigation.tpl", which I can customize and then also change the CSS for "clean_orange_customized: Navigation"

did I understand correct?
  I am not a pro in programming but I think I be able to do it with your help given :)

thanks & kr
Markus
uniqu3

Re: [Question] navigation 1st level bold

Post by uniqu3 »

Yes you can simply import the .tpl in the MenuManager with "Import Template from Database" button, name it however you want and modify to your needs.
Longwolf
Forum Members
Forum Members
Posts: 12
Joined: Fri Mar 14, 2008 1:46 pm

Re: [Question] navigation 1st level bold

Post by Longwolf »

Thanks to your help this could be solved!
thanks again :)
Post Reply

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