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 hide a module?

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

Hi

I've got a Custom HTML module associated with the "Above" element in the Rasa2 template.

I can't figure out how to hide it from people using tablets/smartphones.

I've selected Hide on the right hand side for what I take it are tablets/smartphones (the bottom 2 options), but the module is still visible to smartphone users.

Not sure what I'm doing wrong?

Many thanks.
Attachments:
  • Jeremy Stangroom's Avatar
  • Jeremy Stangroom
  • 12 Month basic
  • 61 posts
  • 1 Thanks
  • Karma: 1
The administrator has disabled public write access.
Before I test this can you just confirm you are using the latest version of the template?

Thanks
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Yes, I'm using the latest template. Default layout.

You can see the module in action here:

philosophersmag.com

Thanks!
  • Jeremy Stangroom's Avatar
  • Jeremy Stangroom
  • 12 Month basic
  • 61 posts
  • 1 Thanks
  • Karma: 1
The administrator has disabled public write access.
Thanks for the info I will need to get back to you on this one

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Thanks Paul!
  • Jeremy Stangroom's Avatar
  • Jeremy Stangroom
  • 12 Month basic
  • 61 posts
  • 1 Thanks
  • Karma: 1
The administrator has disabled public write access.
I'll talk to the team and get back to as soon as I can

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

Its as I thought its a little bit different with the above and below positions as they are part of the content block so instead you need to add classes to the modules

hidden-phones hidden-tablets

so add these in the advanced tab with a space before them all

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Thanks Paul, that works!

One thing, it leaves the horizontal rule that separates the modules in the theme. It doesn't really matter, but it would be nice to make that disappear too!

Thanks again.
  • Jeremy Stangroom's Avatar
  • Jeremy Stangroom
  • 12 Month basic
  • 61 posts
  • 1 Thanks
  • Karma: 1
The administrator has disabled public write access.
Try this

@media (max-width:700px ){
#abovewrap .zen-spotlight {border-bottom: 0;}
#abovewrap .zen-spotlight:after {background: none;}
}

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

Whereabouts should I add that code? In the same place as the module styling code (Advanced tab)?
  • Jeremy Stangroom's Avatar
  • Jeremy Stangroom
  • 12 Month basic
  • 61 posts
  • 1 Thanks
  • Karma: 1
The administrator has disabled public write access.
ah you need to add it to your custom code section

docs.joomlabamboo.com/zen-grid-framework-4/theme/customisation.html

Cheers
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
This is a media query - its a bit beyond the scope of your membership but was an interesting one to find :)

Its matching the breakpoint value that the site has e.g. 700px
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
The following user(s) said Thank You: Jeremy Stangroom
That worked!

Thanks so much. Your efforts are much appreciated! :)
  • Jeremy Stangroom's Avatar
  • Jeremy Stangroom
  • 12 Month basic
  • 61 posts
  • 1 Thanks
  • Karma: 1
The administrator has disabled public write access.
You're welcome :)

Good luck with the site

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