Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

Module suffix

  • emperor
  • emperor's Avatar Topic Author
  • Offline
  • Premium Member
More
10 years 3 months ago #137615 by emperor
Module suffix was created by emperor
Is there any way that i can hide a module on xsmall views of cell phones? I found the option for small but it doesn't fit to me when the mobile is turning to landscape view. I need something that will hide for less than 640 and the opposite, that will show for above 640

Thanks

Please Log in or Create an account to join the conversation.

More
10 years 3 months ago #137616 by Yiota
Replied by Yiota on topic Module suffix
You can add one of your own classes for the specified viewports.

Add this in your custom.css file:

@media screen and (min-width:640px) {
.xsmall-show {display:block;}
}

@media screen and (max-width:640px) {
.xsmall-hide {display:none;}
}

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • emperor
  • emperor's Avatar Topic Author
  • Offline
  • Premium Member
More
10 years 3 months ago #137617 by emperor
Replied by emperor on topic Module suffix
Thank you Yota, you rock!

Please Log in or Create an account to join the conversation.

More
10 years 3 months ago #137618 by Yiota
Replied by Yiota on topic Module suffix
You are welcome :)

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum