diff options
| author | David Monjoie <dmo@odoo.com> | 2015-03-25 11:39:03 +0100 |
|---|---|---|
| committer | David Monjoie <dmo@odoo.com> | 2015-04-01 11:23:02 +0200 |
| commit | 67ff2eb92b3ee5b0d82db584b26a794e960801b1 (patch) | |
| tree | 31c6172c719b681a1f98ba65852392a5c504ea89 /addons/website/static/src | |
| parent | 0af0738841a328789f02b9db188cbaeb5805977a (diff) | |
[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.
Diffstat (limited to 'addons/website/static/src')
| -rw-r--r-- | addons/website/static/src/css/website.css | 1 |
1 files changed, 1 insertions, 0 deletions
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; |
