• 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)
  • 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)
  • The topic ‘Remove spaces when hide on devices’ is closed to new replies.