Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

dropdown menu

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hi - I'm confused over menu settings.
I've set up a menu header, and all the menu items are displayed underneath it.
I want the menu items hidden until the header is clicked on, but I can't see how to do this.
Can anybody help please?
www.vintagestarwarsdiecast.co.uk
Responsive2 template
J 3.4.8
Thanks
Ian
  • ianpanorton's Avatar
  • ianpanorton
  • 6 Month Developer
  • 1258 posts
  • 3 Thanks
  • Karma: 7
The administrator has disabled public write access.
Hi Ian,

You are referring to the sidebar menu is that correct?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Paul- thanks for getting back to me.
Yes it's the sidebar menus.
Can't see what I'm doing wrong… or not doing right :-)
Ian
  • ianpanorton's Avatar
  • ianpanorton
  • 6 Month Developer
  • 1258 posts
  • 3 Thanks
  • Karma: 7
The administrator has disabled public write access.
Is it an accordion menu you want to display?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Paul - sorry for the slow reply.

An accordion menu would be fine…

Thanks

Ian
  • ianpanorton's Avatar
  • ianpanorton
  • 6 Month Developer
  • 1258 posts
  • 3 Thanks
  • Karma: 7
The administrator has disabled public write access.
Hi Ian,

you will need to use separator rather than heading link type as the toggle links
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hmm - text separator?
Thanks
Ian
  • ianpanorton's Avatar
  • ianpanorton
  • 6 Month Developer
  • 1258 posts
  • 3 Thanks
  • Karma: 7
The administrator has disabled public write access.
Ah. Found the documentation - got it now. Thanks Paul.

Still got a problem though, the menu is not appearing in the off canvas position on my mobile.

Can't see where I'm going wrong here either…

Sorry to be a pain,

Ian
  • ianpanorton's Avatar
  • ianpanorton
  • 6 Month Developer
  • 1258 posts
  • 3 Thanks
  • Karma: 7
The administrator has disabled public write access.
Hi Ian,

Nothing wrong as such but its the menu position that is added to mobile menu options not a sidebar module

I'll take a look shortly to see what options you have

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Thanks Paul
  • ianpanorton's Avatar
  • ianpanorton
  • 6 Month Developer
  • 1258 posts
  • 3 Thanks
  • Karma: 7
The administrator has disabled public write access.
Try using these classes

docs.joomlabamboo.com/zen-grid-framework-4/responsive/responsive-module-classes

to hide the menu on desktop and maybe tablet

hide the accordion on mobile

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Accordion working well :)

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Thanks Paul :-)
  • ianpanorton's Avatar
  • ianpanorton
  • 6 Month Developer
  • 1258 posts
  • 3 Thanks
  • Karma: 7
The administrator has disabled public write access.
No problem

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Paul - the -hidden and -visible work a treat!

But one small problem I now have is that the zen icon three horizontal bars for the off canvass menu now shows on all screen sizes.

To prevent this I tried the code below, but of course I lost all the zen icons on the larger screens, which I didn't want.

@media only screen and (min-width : 768px)
{
.zen-icon {display:none;}
}

Any idea how to fix this?

Thanks

Ian
  • ianpanorton's Avatar
  • ianpanorton
  • 6 Month Developer
  • 1258 posts
  • 3 Thanks
  • Karma: 7
The administrator has disabled public write access.
Hi Ian,

Are you trying to hide the main menu? as I see home in the menu position

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
The style is valid syntax wise

@media only screen and (min-width : 768px) {
.zen-icon {display:none;}
}

Don't you want to hide this as the module is empty?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Just for reference its a bit easier if a thread talks about a line of css if its the last line in the custom.css file - saves lazy me having to scan/skim the code

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Paul - thanks for getting back to me.
Point taken about the css - I'll remember for the future.
It's not the menu I'm trying to hide, it's the zen icon. Screenshot attached.
Since using -hide and -visible it appears on desktop and tablet sizes. I've hidden the menus at those sizes, so I don't want the icon to appear.
It's working fine on mobile, but I don't want off-canvass to show on tablet and desktop.
Where am I going wrong?
Puzzled
Ian
Attachments:
  • ianpanorton's Avatar
  • ianpanorton
  • 6 Month Developer
  • 1258 posts
  • 3 Thanks
  • Karma: 7
The administrator has disabled public write access.
Hi Ian,

Have you set the minimum width visible option for the menu in the menu panel in the template controls?

Thanks
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers