 
	
		
		
		
		
			
- 
		AuthorPosts
- 
		
			
				
May 17, 2022 at 11:06 am #1352046Hello again, I have a display issue with the Store Notice (Customizing ->WooCommerce->Store Notice) located at the top of the website in both version (desktop and Mobile version). Clearly, the notice is hiding the header instead of being displayed on top of it. Is there a way to solve this please? Thanks for your help May 17, 2022 at 12:42 pm #1352062Hey rubenhazan2020, Are you referring to the bar at the top of your site with the following text? Livraison gratuite pour toute commande superieure a 100 euros Dismiss If so, then where would you like to place it? Best regards, 
 RikardMay 17, 2022 at 2:45 pm #1352090This reply has been marked as private.May 17, 2022 at 5:43 pm #1352105Hi, That element is a notification which can be dismissed. We can give you CSS to move the header down below it, but then there would be space left when it’s dismissed/removed. Best regards, 
 RikardMay 20, 2022 at 5:50 pm #1352439This reply has been marked as private.May 21, 2022 at 12:19 pm #1352489Hi, Please try to add this to Quick CSS: #wrap_all { margin-top: 41px; } p.demo_store { top: -10px; }Then add this function to remove the top margin after the notice has been clicked: function ava_remove_top_margin(){ ?> <script> jQuery(document).ready(function(){ jQuery("a.woocommerce-store-notice__dismiss-link").click(function(){ jQuery("#wrap_all").css('margin-top', '0'); }); }); </script> <?php } add_action('wp_footer', 'ava_remove_top_margin', 999);Best regards, 
 RikardMay 23, 2022 at 12:54 pm #1352630This reply has been marked as private.May 23, 2022 at 2:25 pm #1352639Hi, I added the function to your functions.php file, and it’s working as it should. Please note that the function will be overwritten on updates, unless you put it in a child theme. Best regards, 
 RikardMay 25, 2022 at 4:53 pm #1352937This reply has been marked as private.May 26, 2022 at 9:11 am #1353026
- 
		AuthorPosts
- You must be logged in to reply to this topic.
