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.

how do I make the responsive menu sticky in the Medica template?

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

Hey Paul,

Hope you are doing well. I have a question for you. How do I make the responsive menu (mean-bar) sticky? I added to its position 'fixed' (see below), which gets me half way there. The problem is that the dropdown menu stops working, when I scroll down the page and click on it. It works fine at the top of the page. This is on both mobile and ipad type of devices.
.mean-container a.meanmenu-reveal {
position: fixed;
}
The site is www.lifeprocess.dk/

Appreciate your help.
Nya
  • Nya Fleron's Avatar
  • Nya Fleron
  • LIfetime Developer - Big Bamboo
  • 284 posts
  • 3 Thanks
  • Karma: 2
The administrator has disabled public write access.
Hi Nya,

Is the template setting not working for you?
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
2017-07-28_22h06_57.png


Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
The sticky is disabled for small screens not sure if that is readable on the screenshot
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
It's enabled yes, but it says it won't work for small screens like you said. So is there no way for me to make it work for small screens? thanks.

Nya
  • Nya Fleron's Avatar
  • Nya Fleron
  • LIfetime Developer - Big Bamboo
  • 284 posts
  • 3 Thanks
  • Karma: 2
The administrator has disabled public write access.
Hi Nya,

With this particular template - not that I know of

With buildr we gave people a choice but the support is patchy across different devices

But unfortunately this is a different framework

This is one of those which is beyond my expertise I'm afraid - I could ask a developer but I think it might come under custom support blocks
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Paul,

We are having the same issue using the Medica template.

Noticed it on one and now realise it is across several sites.

Have you had any fix for this since Nya's request?

Thanks in advance,

Marguerite @ Artful
  • artful's Avatar
  • artful
  • LIfetime Developer - Big Bamboo
  • 37 posts
  • 1 Thanks
  • Karma: 1
The administrator has disabled public write access.
Afraid not

All our work is going towards the zgfv5 template and framework

Maybe this might change with joomla4 but I think we would then be migrating templates to zgfv5 instead

Sorry on this one

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hello,
I bypassed the problem for Ecolife template with this css rule:
@media (max-width: 960px) {
.mean-container .mean-bar {
	    position: fixed;
	    top: 0px;
	    overflow: auto;
	    max-height: 100%;
	    background-color: #cecec6;
	    background-image: none;
	    border-bottom: 1px dashed rgba(0,0,0,0.3);
	}
}

Maybe you can get inspired?

Maybe this might change with joomla4 but I think we would then be migrating templates to zgfv5 instead
@Paul
I really hope that templates in ZGF4 will be migrated to ZGF5, there are some excellent templates in this series...
  • Lorenzo's Avatar
  • Lorenzo
  • LIfetime Developer - Big Bamboo
  • 369 posts
  • 11 Thanks
  • Karma: 2
Last Edit: 3 years 8 months ago by Lorenzo.
The administrator has disabled public write access.
Hi Lorenzo,

The problem with the sticky menu on mobile is that different browsers/devices rendered it differently or not at all

So we decided not to implement it

Did you test the css on different devices?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Regarding ZGFV4 I absolutely agree with you

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hello Paul,
Did you test the css on different devices?

... yes, you can look here, it seems that the rule works properly:

www.scorrendoconilliri.it/
  • Lorenzo's Avatar
  • Lorenzo
  • LIfetime Developer - Big Bamboo
  • 369 posts
  • 11 Thanks
  • Karma: 2
The administrator has disabled public write access.
Site looks very nice

Could I share it on facebook?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
... sure! :blush:
Thank you Paul ;)
  • Lorenzo's Avatar
  • Lorenzo
  • LIfetime Developer - Big Bamboo
  • 369 posts
  • 11 Thanks
  • Karma: 2
The administrator has disabled public write access.
sorry I've not been able to post it today

Lost my net connection for most of the day

I will post it tomorrow

Thanks again

Cheers
Paul
  • 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