This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

WooCommerce Site Wide Store Notice covering up header

Resolved 10 replies premiumthemetheme-vantage
10 years ago · Last reply by kuldeepsingh 9 years ago

When I enable the WooCommerce site wide store notice text, the banner covers up the header. Increasing the padding in the header doesn’t solve the problem, since the elements in the header don’t get centered between the menu bar and the store notice banner, so it doesn’t look right.
Is there a way to push the header elements down from the top, rather than adding padding to both the top and bottom of the header? Or is there another solution to this issue?
Thanks in advance to your help!

URL: http://cozyroo.com/

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

10
  1. Cozy Roo 10 years, 4 months ago

    Sorry, I gave the wrong URL. I have a test site set up with the site wide store notice here http://dev.cozyroo.com/test/

  2. Andrew Misplon Staff 10 years, 4 months ago

    Hi Cozy Roo

    You can fix/change this with some custom CSS. If you navigate to Appearance > Custom CSS, you’ll get our custom CSS editor. Just add the following code.

    .woocommerce-demo-store #page-wrapper {
    	margin-top: 25px;
    }
    
  3. Cozy Roo 10 years, 4 months ago

    Perfect! Thanks much!

  4. Andrew Misplon Staff 10 years, 4 months ago

    For sure :)

  5. Cozy Roo 9 years, 11 months ago

    Hi, This custom CSS that you supplied me previously (see above post) is no longer working. The Site Wide Store Notice is covering up header again. Here is the custom CSS that I’m using:

    .woocommerce-demo-store #page-wrapper {
    margin-top: 45px;
    }

    Here’s the URL: https://cozyroo.com/

    Thanks!

  6. Andrew Misplon Staff 9 years, 11 months ago

    Hi again :) It doesn’t look like the CSS rule has been inserted at Appearance > Custom CSS. Try adding it back with 45px margin this time. If you were previously using the Boxed layout and have changed to the Full-Width layout it would explain the difference in required margin.

    .woocommerce-demo-store #page-wrapper {
        margin-top: 45px;
    }

    Let us know how that goes.

  7. Cozy Roo 9 years, 11 months ago

    Hmm… it’s always been the full-width layout, and I have that rule in the Custom CSS section right now. I even just deleted it and pasted in your rule, and still nothing…

  8. Andrew Misplon Staff 9 years, 11 months ago

    Thanks for the update. The new CSS is working on my machine and the notice is no longer overlapping. Can you perhaps try clearing your browser cache to ensure you’re not viewing a cached version.

  9. Cozy Roo 9 years, 11 months ago

    Hi Andrew, yeah I’m likewise not seeing an issue anymore either. That’s strange, since I didn’t make any further changes. Thanks!

  10. kuldeepsingh 9 years, 3 months ago

    /* To keep sitewide woocommerce notification only on shop page */

    body:not(.woocommerce) .demo_store {
    display: none !important;
    }

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread