Page 1 of 1

Home Page Group Menu - Collapse First Menu Bar

Posted: 2017-12-06 03:06
by ronwill
Is it possible that when loading the main menu page that the first/top group menu bar starts in the closed state not open as in does in default?
For most cases the normal method works fine for me, but I have a background image that I want displayed without having all the buttons showing over it on page opening.
Thanks,

Ron

Re: Home Page Group Menu - Collapse First Menu Bar

Posted: 2017-12-06 04:00
by peebee
You can remove or comment out this line in home.php and all groups on the home page will load in the closed position

Code: Select all

$j('.collapser:visible').eq(0).click();
or you could edit it to be:

Code: Select all

$j('.collapser:invisible').eq(0).click();

Re: Home Page Group Menu - Collapse First Menu Bar

Posted: 2017-12-06 05:37
by ronwill
Excellent, Thanks peebee just what I needed to know
Cheers,
Ron

Re: Home Page Group Menu - Collapse First Menu Bar

Posted: 2020-06-11 03:58
by ronwill
Is it possible to make collapser:visible for lg / md screen and collapser:invisible for xs / sm screens?
Cheers