0
Welcome Guest! Login
0 items Join Now

Remove slideshow module on mobile view?

    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: Remove slideshow module on mobile view?

    Posted 10 years 7 months ago
    • Hi Ann and RobNob

      Well your not going to be happy with this answer -
      The slideshow position was set up for a very specific usage and needs some very specific styling and elements to integrate properly. Basic chrome was used to remove all the extra divs and inherited styling that standard gets to utilize custom styling instead. The module suffixes aren't intended to work on this position (slideshow isnt one of our standard gantry positions but rather a specialized position for this templates needs).

      So for desktops you can still use slideshow but in mobile you'll have to use CSS media-query to remove it.
      This is an example for a mobile phone:
      @media only screen and (max-width: 594px) {
      	#rt-slideshow {
      		display: none;
      	}
      }
  • Re: Remove slideshow module on mobile view?

    Posted 10 years 7 months ago
    • I am very happy with that answer! It worked just fine. Thanks for your quick answer!
      Ann
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: Remove slideshow module on mobile view?

    Posted 10 years 7 months ago
    • Ann Yearsley wrote:
      I am very happy with that answer! It worked just fine. Thanks for your quick answer!
      Ann
      Glad it worked for you. So if we can get RobNob to concur I can close this one out.

Time to create page: 0.054 seconds