Page 1 of 1

Menu Layout - Documentation available?

Posted: Wed 18. Oct 2006, 10:03
by koen007
Hi all,

Is there any documentation available about how to modify the menu layout? Font and colors go with the css file (nav_table & nav_table_active). How do I change the heigth of the menu items? Default is 15px, but I'd like to increase it and add some background images if possible.

Just point me to some early discussions about the menu or let me know which files are used to control the layout of the menu.

Thanks

Re: Menu Layout - Documentation available?

Posted: Wed 18. Oct 2006, 10:52
by rushclub
koen007 wrote:Hi all,

Is there any documentation available about how to modify the menu layout? Font and colors go with the css file (nav_table & nav_table_active). How do I change the heigth of the menu items? Default is 15px, but I'd like to increase it and add some background images if possible.

Just point me to some early discussions about the menu or let me know which files are used to control the layout of the menu.

Thanks
you can do all these things with css.

cheers
rush

Posted: Wed 18. Oct 2006, 11:49
by koen007
If I look into the source code of the rendered menu, I see

Code: Select all

<TD class=nav_table style="HEIGHT: 15px" vAlign=top width="100%" colSpan=2>
If I change the css properties of "Nav_table", this will be overruled by

Code: Select all

style="HEIGHT: 15px"
So, how do I increase the height of a menu item?

Posted: Wed 18. Oct 2006, 12:07
by pepe
have a look into your configs..... :

//
$template_default["nav_table_struct"]["cell_width"] = "100%";
$template_default["nav_table_struct"]["cell_height"] = "15";
$template_default["nav_table_struct"]["cell_class"] = "nav_table";
//
$template_default["nav_table_struct"]["cell_active_width"] = "100%";
$template_default["nav_table_struct"]["cell_active_height"] = "15";
$template_default["nav_table_struct"]["cell_active_class"] = "nav_table_active";

Posted: Wed 18. Oct 2006, 12:19
by koen007
ok, that's what I was looking for.

Thanks!

Where is this?

Posted: Mon 11. Dec 2006, 08:15
by loub0999
[quote="pepe"]have a look into your configs..... :

Is this in a file? If so what is it's name and where do I find it? Or is it in a part of the admin interface I didn't find yet?

Posted: Mon 11. Dec 2006, 08:34
by flip-flop
HI,

filename: conf.template_default.inc at /config/phpwcms/

But the better is since V1.2.8 the NAV_LIST_UL http://www.phpwcms.de/forum/viewtopic.php?t=12716

Regards Knut