Files
Benjamin Vray 69e951d47e [IMP] test_themes, theme_*: adapt themes for new parallax structure
This commit adapts the themes to the new Parallax effect structure.
We now wrap the parallax element in another element with
"overflow: hidden" to avoid setting "overflow: hidden" on sections.
That was causing elements like the dropdown of the search bar to be cut
off and not fully visible.

task-4926420

closes odoo/design-themes#1114

Related: odoo/odoo#218296
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2025-10-06 12:57:36 +00:00

22 lines
892 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_cover" inherit_id="website.s_cover">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="pt200 pb200" remove="parallax s_parallax_is_fixed bg-black-50 pt232 pb232" separator=" "/>
<attribute name="data-scroll-background-ratio">0</attribute>
<attribute name="style">background-image: url('/web/image/website.s_cover_default_image'); background-position: 50% 0;</attribute>
</xpath>
<xpath expr="//*[hasclass('s_parallax_bg_wrap')]" position="replace"/>
<!-- Title & Text -->
<xpath expr="//h1" position="replace" mode="inner">
Creative Studio
</xpath>
<xpath expr="//p" position="replace" mode="inner">
We combine smart design with rich technology <br/>to craft innovative products.
</xpath>
</template>
</odoo>