Page 1 of 1

[Solved] navigation 1st level bold

Posted: Tue Sep 28, 2010 9:24 am
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

Re: [Question] navigation 1st level bold

Posted: Tue Sep 28, 2010 9:36 am
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.

Re: [Question] navigation 1st level bold

Posted: Wed Sep 29, 2010 9:16 am
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

Re: [Question] navigation 1st level bold

Posted: Wed Sep 29, 2010 11:01 am
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.

Re: [Question] navigation 1st level bold

Posted: Sun Oct 03, 2010 6:35 pm
by Longwolf
Thanks to your help this could be solved!
thanks again :)