• I would like to create a content area or div inbetween the top menu and the primary menu to fill in the blank space. I have tried adding into the functions, but it will only appear before or after the logo as i change the priority, not inline with the logo:

    add_action( ‘storefront_header’, ‘jk_storefront_header_content’, 40 );
    function jk_storefront_header_content() { ?>
    <div style=”clear: both; text-align: right;”>
    example text
    </div>
    <?php
    }

    https://midlandschandlery.co.uk/

    Many thanks.

Viewing 1 replies (of 1 total)
  • Hi lukep128,

    You are doing the right thing! The function you are using will insert it in the right spot, but it won’t add the CSS styles to align it where you want it.

    Once you’ve got your content in that area, you will need to position it the way you want with some custom CSS.

    Cheers,

Viewing 1 replies (of 1 total)
  • The topic ‘Creating header content area’ is closed to new replies.