Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #303220

    HI
    On this page: http://wp.marlowfilm.dk/
    there is a rollover transparency on the fullcreen slideshow images that I would like to remove but I can’t find the code.
    Is it also possible to have the slideshow images open in lightbox only on the mobile? The fullscreen slideshows look
    kind of small on the phone.
    Thanks for your help!
    Nancy

    #303230

    Hi Munford!

    You have following code in Quick CSS field, please remove it

    img:hover {
    opacity: 0.5 !important;
    }

    Please firstly link your slider images and then add following code to Functions.php file in Appearance > Editor

    function add_custom_slider_link(){
    ?>
    <script>
    jQuery(window).load(function(){
      if (jQuery(window).width() >= 768){	
    	   jQuery("ul.avia-slideshow-inner li a").removeAttr("href");
      }
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'add_custom_slider_link');

    Regards,
    Yigit

    #303375

    thanks! the img: hover setting was for the portfolio grid – how can I make it only display there?

    #303414

    Hey Nancy!

    Please use following code instead

    .grid-image img:hover {
    opacity: 0.5;
    }

    Regards,
    Yigit

    #303461

    so simple. thanks again.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘fullscreen slideshow rollover/ lightbox on mobile?’ is closed to new replies.