• Resolved ArcticCascade

    (@arcticcascade)


    I use the Catch Evolution theme for my site. When I enable the Simple Gallery plugin, the site is no longer responsive to different screen sizes.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support weblizar_support

    (@weblizar_support)

    Hello arcticcascade,
    there is minor css confliction, it can be resolved by following steps-
    1) Open the file “simple-lightbox-slider-shortcode.php” in plugin folder.
    2) On line no. 75 replace the code

    img {
       max-width:1600px !important;
    }

    by

    <?php if ( wp_is_mobile() ) { ?>
    	img {
    		max-width:300px !important;
    	}
    	<?php } else{ ?>
    	img {
    		max-width:1600px !important;
    	}
    <?php } ?>
    

    For reference you can see here.
    Thanks.

    Thread Starter ArcticCascade

    (@arcticcascade)

    Thanks for that.
    That didn’t solve the problem properly – on mobile, the images got smaller, but on desktop they are still broken.
    However, removing that line completely does fix it though.

    • This reply was modified 8 years, 3 months ago by ArcticCascade.
    Plugin Support weblizar_support

    (@weblizar_support)

    Hello arcticcascade,
    we’ve tested the plugin on the theme you are using, it got fixed by the code we sent. If it is fixed by removing the code completely…its good.
    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Breaks the responsiveness of my theme’ is closed to new replies.