Files
design-themes/theme_bookstore/views/snippets/s_text_image.xml
T
Brieuc-brd bea6e96b91 [IMP] theme_bookstore: update the theme
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.

task-2557935

X-original-commit: 1f632d8dd7
Part-of: odoo/design-themes#501
2021-09-24 11:09:44 +00:00

32 lines
1.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_text_image" inherit_id="website.s_text_image">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc5 pt112 pb112" remove="pt32 pb32" separator=" "/>
</xpath>
<!-- Wrapper -->
<xpath expr="//div[hasclass('col-lg-6')]" position="attributes">
<attribute name="class" add="col-lg-5" remove="col-lg-6" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h2" position="replace" mode="inner">
Probably your next <br/>favorite book
</xpath>
<!-- Paragraphs -->
<xpath expr="//p" position="replace" mode="inner">
<br/>
Discover all the publications. There is probably your next favorite book amoung them.
</xpath>
<xpath expr="//p[2]" position="replace" mode="inner">
<br/>
</xpath>
<!-- Img Wrapper -->
<xpath expr="//div[hasclass('col-lg-6')]" position="attributes">
<attribute name="class" add="col-lg-5 offset-lg-2" remove="col-lg-6" separator=" "/>
</xpath>
</template>
</odoo>