mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
376ab972ea
* anelusia, artists, avantgarde, aviato, beauty, bewise, bistro, bookstore, buzzy, clean, cobalt, enark, graphene, kea, kiddo, loftspace, monglia, nano, notes, odoo_experts, orchid, paptic, real estate, treehouse, vehicle, yes, zap This commit adapts all the `xpath` expressions inside design themes to target the new heading tags that were changed within the snippet files. task-4349019 closes odoo/design-themes#1043 Related: odoo/odoo#191300 Related: odoo/enterprise#92978 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
28 lines
1.1 KiB
XML
28 lines
1.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<template id="s_card_offset" inherit_id="website.s_card_offset">
|
|
<!-- Grid items -->
|
|
<xpath expr="(//div[hasclass('o_grid_item')])[2]" position="attributes">
|
|
<attribute name="style" add="--grid-item-padding-y: 72px;" remove="--grid-item-padding-y: 40px;" separator=";"/>
|
|
</xpath>
|
|
<!-- Image -->
|
|
<xpath expr="//img" position="attributes">
|
|
<attribute name="src">/web/image/website.s_carousel_default_image_3</attribute>
|
|
</xpath>
|
|
<!-- Title -->
|
|
<xpath expr="//h2" position="replace" mode="inner">
|
|
Music That Moves You
|
|
</xpath>
|
|
<!-- Paragraph 1 -->
|
|
<xpath expr="(//p[hasclass('lead')])[1]" position="replace" mode="inner">
|
|
Experience the magic of live music and discover new sounds with our events and services. Whether you're into concerts or recordings, we bring the best of the music world to you.
|
|
</xpath>
|
|
<!-- Paragraph 2 -->
|
|
<xpath expr="(//p[hasclass('lead')])[2]" position="replace" mode="inner">
|
|
Feel the rhythm, live the music.
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|