Files
design-themes/theme_buzzy/views/snippets/s_image_text.xml
T
Chrysanthe (chgo) c3bee92507 [IMP] theme_*: adapt s_image_text templates
This commit aims to review all the occurrences of the `s_image_text`
snippet across the themes in order to fix broken selectors.

task-3665301

closes odoo/design-themes#830

Related: odoo/odoo#173311
Signed-off-by: Robin Lejeune (role) <role@odoo.com>
2024-07-26 09:53:51 +00:00

32 lines
1.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_image_text" inherit_id="website.s_image_text">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc2 pt72 pb72" remove="pt80 pb80" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h2" position="replace" mode="inner">
A new open world
</xpath>
<xpath expr="//h2" position="after">
<p><br/></p>
</xpath>
<!-- Img -->
<xpath expr="//img" position="attributes">
<attribute name="style">padding: 32px !important;</attribute>
<!-- Enable SVG dynamic color functionality -->
<attribute name="src">/web_editor/shape/theme_buzzy/s_image_text.svg?c1=o-color-1</attribute>
</xpath>
<!-- Paragraphs -->
<xpath expr="//p[2]" position="replace" mode="inner">
Working at the office is good, but working where we want without distraction is better. With our Cloud service accessing to your data has never been so easy.
</xpath>
<xpath expr="//p[3]" position="replace" mode="inner">
Get what you want, where and when you want.
</xpath>
</template>
</odoo>