VISIT AND LIKE OUR PAGE ON FACEBOOK
TAKE A LOOK AT OUR TWEETS ON TWITTER
SUBSCRIBE TO THE JOOMFREAK RSS FEED
VISIT OUR CHANNEL ON YOUTUBE

Account Details

Change your name, email, password or permanently delete your account. Change settings

We offer several ways you can get support from our experts: Support ForumKnowledgebaseNewsletter

Your Forum Posts

No posts to display.

Welcome, Guest
Username Password: Remember me

How to hide a module on desktops?
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: How to hide a module on desktops?

How to hide a module on desktops? 09 Mar 2017 20:26 #10043

Hi!
I need to have a simple image only on mobiles. I’ve created a new custom module on “welcome” position but I´m not sure how to hide it only for desktops.

Any suggestions?

Thanks in advance

  • Posts:2
  • guaro83
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: How to hide a module on desktops? 13 Mar 2017 02:51 #10050

Try to edit module in Modules Manager, at tab Advanced add Module Class Suffix like this:

This image is hidden for guests. Please log in or register to see it.


joomfreak
Last Edit: 13 Mar 2017 02:51 by isupport.

  • Posts:2940
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0

Re: How to hide a module on desktops? 13 Mar 2017 03:20 #10052

Thank you for your support!
It worked but I had to add the following code at the end of "temple.css":

@media (min-width: 959px) {
.visible-xs {
display: none;
}
}

  • Posts:2
  • guaro83
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: How to hide a module on desktops? 14 Mar 2017 02:36 #10055

Hi,
It's available in bootstrap.

joomfreak

  • Posts:2940
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0
  • Page:
  • 1
Time to create page: 0.73 seconds
Saturday 20 April 2024

joomfreak is not affiliated with or endorsed by the Joomla Project or Open Source Matters.
The Joomla logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.