Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1213312

    How do I put up a site wide banner on my site that sits above the menu etc for things like adding a quick sale note or COVID 19 message to the page. Is there an option to this easily without upsetting the rest of the site that I can turn on and off as I need it? Thanks

    #1213438

    Hey zebravision,

    Here are the docs for you:

    Best regards,
    Victoria

    #1213774
    This reply has been marked as private.
    #1213909

    Hi,

    Please try this in your functions.php file in your child theme:

    function zebravision_notice_above_header(){
    	?>
    		<div><h1>Hello</h1></div>
    	<?php
    }
    add_action('wp_body_open', 'zebravision_notice_above_header');

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.