Posts: 63
Threads: 26
Joined: Oct 2011
Hello all!
Does anyone know how could i display only a few first items of a menu, using a i18n menu plugin (on 3.0 cms)?
Thanks!
Posts: 2,094
Threads: 54
Joined: Jan 2011
(2012-11-12, 21:53:54)mrmut Wrote: Does anyone know how could i display only a few first items of a menu, using a i18n menu plugin (on 3.0 cms)?
The easiest way to just hide the other items with CSS, like here (assuming class
sitemenu on the menu's ul):
Code:
ul.sitemenu li + li + li + li { display: none; }
which will hide all but the first 3 entries.
Posts: 63
Threads: 26
Joined: Oct 2011
Thanks Mvlcek! I will try this, and report back!
Posts: 63
Threads: 26
Joined: Oct 2011
Thank you very much, this worked like a charm! :-)
Do you have any knowledge how does this classes work on older browsers? - I haven yet managed to test it!
Posts: 63
Threads: 26
Joined: Oct 2011
I did test this, and it seems there are some problems with IE6.
No problems with IE7, tho, so I consider this a non-issue.
Thanks a lot for your help!
Posts: 2,906
Threads: 193
Joined: Feb 2011
problems with IE6 are no problems at all.
This browser is 15 years old ;=)
just ignote that browser version!