With this great menu solution:
http://www.phpwcms-howto.de/wiki/doku.p ... v_horiz_dd
{NAV_HORIZ_DD:ID,Level depth}
I am looking for the tweak to make this great Dropdown/Flyout menu with no fixed width, thus, for a more compact top level menu.
Problem:
Check: http://www.iroutier.com/site/accueil.phtml
Not much space left in my case to add more than 1 or 2 other main categories
I'd wish there would be no fixed width, at least for the main menu level (before hovering).
For the hidden subcategories, then simply inheriting the largest value inherited by the titles of the current subcategories
Will be back in some hours... have to hit the road...
Will have plenty of time to think...
Cheers,
Yves
{NAV_HORIZ_DD:ID,Level depth} Looking for compact top level
{NAV_HORIZ_DD:ID,Level depth} Looking for compact top level
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
Re: {NAV_HORIZ_DD:ID,Level depth} Looking for compact top level
Hi Yves,
fast solution:
First level width:
Sublevel width:
I hope it work correctly.
Knut
fast solution:
First level width:
Code: Select all
#pmenu a, #pmenu a:visited {
display: block;
/* width: 120px; */ /* -kh */
padding: 0 10px 0 10px; /* +kh padding only first level */
float: left; /* +kh */
Code: Select all
#pmenu li ul li a, #pmenu li ul li a:visited {
border-width: 0 1px 1px 1px;
width: 152px; /* +kh width for all sub level */
padding: 0 5px 0 5px; /* +kh padding for all sub level */
Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Re: {NAV_HORIZ_DD:ID,Level depth} Looking for compact top level
Oh Knut
Thank you!!! Your tweak did the job perrrrfecccctly.
Now I have so plenty of room to expand the menu that it is now a little bit Zen
We are so lucky to have a Guru like you who can communicate with us in English.
You take care fmy Friend
Yves
Thank you!!! Your tweak did the job perrrrfecccctly.
Now I have so plenty of room to expand the menu that it is now a little bit Zen
We are so lucky to have a Guru like you who can communicate with us in English.
You take care fmy Friend
Yves
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
Re: {NAV_HORIZ_DD:ID,Level depth} Looking for compact top level
Or try
#pmenu a, #pmenu a:visited {
display: block;
width: auto;
....
}
Aaaah - I'm a little bit late...
#pmenu a, #pmenu a:visited {
display: block;
width: auto;
....
}
Aaaah - I'm a little bit late...
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Re: {NAV_HORIZ_DD:ID,Level depth} Looking for compact top level
Thank you Guru Claus for your input
Your suggestion: width: auto;
also works but bypasses the padding values
I guess it would also be an option but... with margin values
depending on the desired rendu
Do you guys take some sleep sometime?
Cheers,
Yves
Your suggestion: width: auto;
also works but bypasses the padding values
I guess it would also be an option but... with margin values
depending on the desired rendu
Do you guys take some sleep sometime?
Cheers,
Yves
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!