Support » Plugin: Widget Options » Remove spaces when hide on devices

  • Resolved annnnnt

    (@annnnnt)


    Hi! I’m using this plugin for SiteOrigin.
    How do I remove the margin/padding if a row is hide on some devices?

Viewing 1 replies (of 1 total)
  • Plugin Author phpbits

    (@phpbits)

    Hi,

    Thank you very much for choosing Widget Options! Regarding your concern, there’s no option to remove the element when it’s theme related padding-margin issue. Though you can use jQuery script like this :

    <script type="text/javascript">
    	$(document).ready(function(){
    		if( $('.slider-widget-area').height() < 10 ){
    			$('.slider-widget-area').hide();
    		}
    	});
    </script>

    Just replace the class to your element class. Let me know how it goes. Thanks!

    Cheers,
    Jeffrey

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.