From c3c98e937e575853fe0b25fa6cb3c916e73fc591 Mon Sep 17 00:00:00 2001 From: stefanorigano Date: Wed, 19 Apr 2017 10:46:30 +0200 Subject: [PATCH] [FIX] website: 'parallax', prevent parallax disappear MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The inner ’.s_parallax_bg’ element has a negative z-index value to be rendered behind any other inner content. This may cause the element disappear, because z-index is evaluated on the entire page. This commit will restrict the ’s_parallax_bg’ behaviour at snippet level, assigning a z-order to the container too. --- addons/website/static/src/less/website.snippets.less | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/website/static/src/less/website.snippets.less b/addons/website/static/src/less/website.snippets.less index 598993c686d..0214c264cd3 100644 --- a/addons/website/static/src/less/website.snippets.less +++ b/addons/website/static/src/less/website.snippets.less @@ -393,6 +393,7 @@ div.carousel { .parallax { position: relative; + z-index: 0; .oe_structure { > :first-child {