[IMP] theme_treehouse: adapt s_banner

Since the redesign of the original banner snippet, the customizations
made in theme_treehouse have had to be adapted.

task-3097005

Part-of: odoo/design-themes#687
This commit is contained in:
Brieuc-brd
2023-08-29 09:02:45 +02:00
committed by qsm-odoo
parent ed0853d449
commit bd66ff093a
4 changed files with 11 additions and 3 deletions
+1 -3
View File
@@ -4,14 +4,12 @@
<template id="s_banner" inherit_id="website.s_banner">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc3" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Floats/12"}</attribute>
</xpath>
<xpath expr="//*[hasclass('container')]" position="before">
<div class="o_we_shape o_web_editor_Floats_12"/>
</xpath>
<xpath expr="//*[hasclass('s_parallax_bg')]" position="attributes">
<attribute name="style" add="background-position: 50% 100%;" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h1" position="replace" mode="inner">
Hello Planet.