test
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • clrmedia Friend
    #183903

    How can I hide the slideshow for the Mobile view? I want to retain the slideshow in the other views.

    It would be great if Joomlart were to provide a toggle in the layout panel for the slideshow as was done for Positions 1, 2 and 3, as shown below.


    1. toggle
    clrmedia Friend
    #479499

    The site is http://tinyurl.com/bs5ogkb. As you shrink the width, the slideshow remains visible at all times.

    Even removing the gap between the slideshow and “Book Your Tee Time” would help, although the slideshow is bandwidth heavy and not really relevant to mobile device users.

    Saguaros Moderator
    #479824

    Hi,

    You can use media jquery to apply css rule to specific screen resolution of different devices.

    Open file: templatesja_merocsscustom.css and add this css code:

    @media (max-width: 767px) {
    .ja-slideshow {
    display: none;
    }
    }

    you can change max-width to your appropriate screen resolution.

    Hope this helps.

    clrmedia Friend
    #480220

    Excellent idea. I cannot get the following code to work in custom.css unless I remove the @media component. Any idea as to what I am doing wrong?

    @media (max-width: 480px){
    .ja-ss-items,
    .ja-ss-item .animate .curr .active {
    display: none;
    }
    .ja-slideshow {
    display: none;
    }
    }

    clrmedia Friend
    #480234

    The following works! Thank you Sagusros for pointing me in the right direction.

    @media (min-width: 480px) {
    .ja-ss-items,
    .ja-ss-item .animate .curr .active {
    display: none !important;
    }
    .ja-slideshow {
    display: none !important;
    }
    }

    clrmedia Friend
    #483654

    Sorry. Just looked at my code above, which should use max-width as Saguaros stated above.

    @media (max-width: 490px) {
    .ja-ss-items,
    .ja-ss-item .animate .curr .active {
    display: none !important;
    }
    .ja-slideshow {
    display: none !important;
    }
    }

    vicentebelmonte Friend
    #488679

    It works, Thanks a lot!!!

Viewing 7 posts - 1 through 7 (of 7 total)

This topic contains 7 replies, has 3 voices, and was last updated by  vicentebelmonte 11 years, 8 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum