Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1360072
    suzannereid
    Participant

    Hi, i’ve enable the woocommerce site-wide notice on my site but the notice is on the bottom of the page.

    http://dev.armorlight.biz/

    I would like it to be on the top–how can i do that?

    #1360164
    Nabeel A
    Moderator

    Hi there,

    Thanks for writing in! Please add the following jQuery script in your Customizer via Appearance > Customize > Custom > Edit Global Javascript

    (function($) {
       $('.woocommerce-store-notice.demo_store').insertBefore('.site');
    })(jQuery);

    Then add the following code in your Customizer via Appearance > Customize > Custom > Edit Global CSS:

    p.woocommerce-store-notice.demo_store {
        margin: 0;
    }

    Don’t forget to clear your browser’s cache after adding the code. Let us know how this goes!

    #1360558
    suzannereid
    Participant

    Thank you! That worked wonderfully 🙂

    #1360701
    Prasant Rai
    Moderator

    You are most welcome. 🙂

  • <script> jQuery(function($){ $("#no-reply-1360072 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>