• Resolved jo500

    (@jo500)


    When I view the banner on a mobile, the accept button is hidden by my floating social share buttons. Is there anyway of increasing the bottom margin of the banner in responsive view to move it up – 10px would do it. Thanks!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Moove Agency

    (@mooveagency)

    Hi @jo500,

    Thanks for using our plugins.

    You can increase the padding on mobile by adding the following code snippet to your theme’s functions.php

    add_action('moove_gdpr_inline_styles', 'gdpr_inline_styles_extension_mobile');
    function gdpr_inline_styles_extension_mobile( $styles ) {
    	ob_start();
    	?>
    	@media (max-width: 768px) {
    	  body.gdpr-infobar-visible #moove_gdpr_cookie_info_bar {
    	   	bottom: 32px;
    	  }
    	}
    	<?php
    	$styles .= ob_get_clean();
    	return $styles;
    }

    Hope this helps.

Viewing 1 replies (of 1 total)

The topic ‘adjust padding on responsive banner position’ is closed to new replies.