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 min width is also max width??

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

I'm still trying to get feel for how things work with this template and the Zentools and Zenmenu stuff.

There's a setting on the template menu section that allows me to indicate the drop down min width. When I had it set to 300 it was just way too big, and I haven't found a way to make the menu backdrop non-transparent, so that the transitions can be better distinguished from the backdrop of the theme.

You can see the menu here

I basically need a ZT2 accordion for "categories" that expands to a ZT2 double column list.

I'm not sure I can nest a ZT2 list as the contents of the accordion, and the ZM option "group sub menu items" makes the categories static open all the time, so I was trying to just use standard mega menu drop downs to assign separate ZT2 lists to each drop down item (which breaks out into a separate drop menu).

Anyway, to my current situation, I've set the minimum width of the dropdown to something small enough for the "category" name to look good, but the dropdown width is not expanded when the submenu holding the ZT2 module is rendered.
  • Josh Gust's Avatar
  • Josh Gust
  • 3 Month Basic
  • 27 posts
  • Karma: 0
The administrator has disabled public write access.
Hi There

The backgrounds use the same textures as the body and other elements

html, body, #zen-wrap, #navwrap.fixed, #menu ul ul, .sb-slidebar {
background-color: #333333;
background-image: url("../images/textures/axiompattern.png");
background-attachment: fixed;
}

so you need to replace this on

#menu ul ul {background:red;} with either a colour or a different image
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Regarding the drop down width

You are looking for a certain width on one drop down and another width on a different drop down?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
That's what I expected with the name of the property being "Minimum ..."

Minimum says to me, "hey, this will never go smaller that x." but it doesn't say, "dude, this will be exactly x all the time."
  • Josh Gust's Avatar
  • Josh Gust
  • 3 Month Basic
  • 27 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Josh,

There is a little bug in the framework thats there which is resetting the min-width.

If you add this to your custom.css:

#menu ul ul {min-width:300px}
#menu li li a {float:left;width:100%}
#menu .zen-menu-module ul { padding: 0; margin-left: 0!important;}

or whatever you set the min-width to it will make all of the sub menu items that minimum width. Thisi will also remove the gutter you can see on the zentools module in the dropdown

Now for any items that are more than 300px wide the menu should expand for them.

I'll investigate why this is happening in the framework and add to an update.
Thanks
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
Hey, thanks for the useful reply.

You guys really are on top of things here on the forum. I dig it.

Much appreciated!!!
  • Josh Gust's Avatar
  • Josh Gust
  • 3 Month Basic
  • 27 posts
  • Karma: 0
The administrator has disabled public write access.
I've added that custom.css but I'm not getting any visibly different results.
  • Josh Gust's Avatar
  • Josh Gust
  • 3 Month Basic
  • 27 posts
  • Karma: 0
The administrator has disabled public write access.
Hi

At the moment I see the one page layout

Have you switched?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
I did switch, but I think I'm reverting back to my original way of thinking, because the onepage was scrolling a bit too far when clicking on something that was supposed to show up at grid 5.

As for the dropdown issue I'll create another menu item on the base menu that illustrates this .
  • Josh Gust's Avatar
  • Josh Gust
  • 3 Month Basic
  • 27 posts
  • Karma: 0
The administrator has disabled public write access.
Thanks
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

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

Happy Campers