🎉 Free shipping in Lagos on orders over ₦50,000.
Shop now
.notice-bar{position:fixed;left:0;right:0;top:0;z-index:9999;background:#111;color:#fff;font:500 14px/1.4 system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif}
.notice-bar .notice-inner{max-width:1200px;margin:0 auto;padding:10px 16px;display:flex;align-items:center;gap:12px}
.notice-text{display:inline-block}
.notice-link{color:#fff;text-decoration:underline}
.notice-link:focus,.notice-link:hover{opacity:.9;text-decoration:none}
.notice-close{margin-left:auto;cursor:pointer;border:0;background:transparent;color:#fff;font-size:20px;line-height:1;padding:2px 6px}
.notice-close:focus{outline:2px solid #fff;outline-offset:2px}
@media (max-width:600px){.notice-bar{font-size:13px}.notice-close{font-size:18px}}
/* If WordPress admin bar is visible, avoid overlap */
body.admin-bar .notice-bar{top:32px}
@media (max-width:782px){body.admin-bar .notice-bar{top:46px}}
/* Optional: push your site header down when bar is fixed at the very top */
body.has-notice-fixed header, body.has-notice-fixed .site-header{margin-top:42px}(function(){
var STORAGE_KEY = "notice_bar_v1"; // bump to v2 when you change the message
var DISMISS_DAYS = 7; // how long to keep it hidden after close
var bar = document.getElementById("notice-bar");
if(!bar) return;// Helper: read and validate dismissal expiry
function isDismissed(){
try{
var v = JSON.parse(localStorage.getItem(STORAGE_KEY));
if(!v || !v.expires) return false;
return Date.now() < v.expires;
}catch(e){ return false; }
}// Respect prior dismissal
if(isDismissed()){
bar.parentNode && bar.parentNode.removeChild(bar);
return;
}// Show bar and adjust layout if fixed at top
var isFixed = bar.getAttribute("data-fixed") === "true";
if(isFixed && document.body){ document.body.classList.add("has-notice-fixed"); }// Close button logic
var closeBtn = bar.querySelector(".notice-close");
if(closeBtn){
closeBtn.addEventListener("click", function(){
try{
var expires = Date.now() + DISMISS_DAYS*24*60*60*1000;
localStorage.setItem(STORAGE_KEY, JSON.stringify({expires: expires}));
}catch(e){}
bar.style.display = "none";
if(isFixed && document.body){ document.body.classList.remove("has-notice-fixed"); }
});
}// Optional: only show on homepage (uncomment to enable)
// if(!document.body.classList.contains('home')){ bar.style.display='none'; }})();
Reviews
There are no reviews yet.