From 67ff2eb92b3ee5b0d82db584b26a794e960801b1 Mon Sep 17 00:00:00 2001 From: David Monjoie Date: Wed, 25 Mar 2015 11:39:03 +0100 Subject: [PATCH] [FIX] website: fixed element should have a position Otherwise, it is fixed according to the other elements, here, the wrapwrap element. So if we add a margin to wrapwrap, the margin is also added to the navbar, which means it is not really fixed on the top. This fix avoids this issue so the navbar is always fixed at the top of the page. --- addons/website/static/src/css/website.css | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/website/static/src/css/website.css b/addons/website/static/src/css/website.css index 473ea32f268..054386e8970 100644 --- a/addons/website/static/src/css/website.css +++ b/addons/website/static/src/css/website.css @@ -947,6 +947,7 @@ div.carousel .item.text_only .container > .carousel-image { /* ---- Menu nav bar ---- {{{ */ #oe_main_menu_navbar { position: fixed; + top: 0; min-height: 34px; z-index: 1001; -moz-border-radius: 0px;