Site-Wide Notice Covers Menu Bar

Support Area Forums Elite Site-Wide Notice Covers Menu Bar

Viewing 5 posts - 1 through 5 (of 5 total)
URL to the page in question: http://vedavoo.com
  • Author
    Posts
  • #34262
    Avatar photoScott Hunter
    Participant

    Hi Bill,

    Woo-Commerce has an option for a site-wide notice that I would love to use for promos, announcements, etc. (ie – our cutoff for new build orders for the holidays is 12/7)… but when enabled, it covers the menu bar with a big purple box and prevents browsing.

    I reached out to Woo first… and they redirected me to you for guidance.

    I found a little CSS band-aid to force it into the corner… but still not stylistically good (covers our logo and looks out of place). I have pasted this code at bottom…

    Ideal would be to have it drop in just below the menu bar…

    Any suggestions?

    Scott

    BANDAID CODE:
    p.demo_store {
    top: 0;
    left: 0;
    width: 30%;
    }

    NOTE: Played with different values for “top:” and didn’t change anything

    #34267
    Bill Robbins
    Moderator

    Hi Scott,

    Have you looked at a plugin like the DW Promoter (https://wordpress.org/plugins/dw-promobar/)? I think would likely work out better. There’s nothing in the theme to support using the demo notification. See if that plugin won’t do the trick for you.

    Take care,
    Bill

    #34354
    Avatar photoScott Hunter
    Participant

    I installed this – and like that it can be closed by the customer – but still covers menu bar even with “push page down” enabled. More of an FYI / wishlist thing now than a serious issue. But would be nice if it didn’t cover the menu at all.

    #34356
    Bill Robbins
    Moderator

    Thankfully you can move the navigation down when that bar is open. Here’s how:

    1. Go to your theme options page and choose the Advanced tab.
    2. Scroll down to the Custom CSS box and add this:
      
      body.dwpb-open #header {
      	top: 30px;
      }
      
    3. Update your settings.

    Fixed elements are always relative to the browser window. That’s why the push option won’t actually push it down.

    Take care,
    Bill

    #34384
    Avatar photoScott Hunter
    Participant

    Your awesome – have I told you recently?! Haha – thanks again – so thankful for you!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Site-Wide Notice Covers Menu Bar’ is closed to new replies.