[IMP] theme_*: improve SEO by correcting heading tag hierarchy

* 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>
This commit is contained in:
Chrysanthe (chgo)
2025-08-18 14:54:15 +02:00
committed by qsm-odoo
parent fee5fc75fe
commit 376ab972ea
93 changed files with 316 additions and 316 deletions
@@ -14,7 +14,7 @@
<attribute name="class" add="col-lg-12" remove="col-lg-3" separator=" "/>
</xpath>
<!-- Title & paragraph -->
<xpath expr="//h3" position="replace" mode="inner">
<xpath expr="//h2" position="replace" mode="inner">
Would you like more information <br/>about a product?
</xpath>
<xpath expr="//p" position="replace"/>
@@ -15,7 +15,7 @@
<attribute name="src">/web/image/website.s_carousel_default_image_3</attribute>
</xpath>
<!-- Title -->
<xpath expr="//h3" position="replace" mode="inner">
<xpath expr="//h2" position="replace" mode="inner">
Elegant Furniture for Modern Living
</xpath>
<!-- Paragraph 1 -->
@@ -3,32 +3,32 @@
<template id="s_cards_grid" inherit_id="website.s_cards_grid">
<!-- Title -->
<xpath expr="//h3" position="replace" mode="inner">
<xpath expr="//h2" position="replace" mode="inner">
Tailored Furniture
</xpath>
<!-- Card 1 -->
<xpath expr="(//h5)[1]" position="replace" mode="inner">
<xpath expr="(//h3)[1]" position="replace" mode="inner">
Custom-Designed Furniture
</xpath>
<xpath expr="(//p)[1]" position="replace" mode="inner">
Transform your living space with bespoke furniture pieces, crafted to reflect your unique style and fit perfectly in any room.
</xpath>
<!-- Card 2 -->
<xpath expr="(//h5)[2]" position="replace" mode="inner">
<xpath expr="(//h3)[2]" position="replace" mode="inner">
Personalized Interior Solutions
</xpath>
<xpath expr="(//p)[2]" position="replace" mode="inner">
Our expert designers collaborate with you to create furniture that meets your exact needs, ensuring every piece complements your home's aesthetic.
</xpath>
<!-- Card 3 -->
<xpath expr="(//h5)[3]" position="replace" mode="inner">
<xpath expr="(//h3)[3]" position="replace" mode="inner">
Handcrafted Quality and Comfort
</xpath>
<xpath expr="(//p)[3]" position="replace" mode="inner">
Experience the ultimate in comfort and durability with our handmade furniture, meticulously crafted from premium materials for a timeless appeal.
</xpath>
<!-- Card 4 -->
<xpath expr="(//h5)[4]" position="replace" mode="inner">
<xpath expr="(//h3)[4]" position="replace" mode="inner">
Exclusive Collections
</xpath>
<xpath expr="(//p)[4]" position="replace" mode="inner">
@@ -7,8 +7,8 @@
<attribute name="class" add="o_cc o_cc2" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h3" position="replace">
<h2>Frequently asked question</h2>
<xpath expr="//h2" position="replace" mode="inner">
Frequently asked question
</xpath>
<xpath expr="//p" position="replace"/>
</template>
@@ -6,7 +6,7 @@
<xpath expr="//section" position="attributes">
<attribute name="class" add="pt72 pb128" remove="pt64 pb64" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('container')]/h3" position="replace" mode="inner">
<xpath expr="//div[hasclass('container')]/h2" position="replace" mode="inner">
Customer benefits
</xpath>
<xpath expr="//div[hasclass('container')]/p" position="replace" mode="inner">
@@ -11,7 +11,7 @@
<attribute name="style">box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.05) !important;</attribute>
</xpath>
<!-- Column #1 - Title -->
<xpath expr="//div[hasclass('card-body')]//h5" position="replace" mode="inner">
<xpath expr="//div[hasclass('card-body')]//h2" position="replace" mode="inner">
Unique Items
</xpath>
<!-- Column #1 - Paragraph -->
@@ -23,7 +23,7 @@
<attribute name="style">box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.05) !important;</attribute>
</xpath>
<!-- Column #2 - Title -->
<xpath expr="(//div[hasclass('card-body')])[2]//h5" position="replace" mode="inner">
<xpath expr="(//div[hasclass('card-body')])[2]//h2" position="replace" mode="inner">
Tailored advice
</xpath>
<!-- Column #2 - Paragraph -->
@@ -35,7 +35,7 @@
<attribute name="style">box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.05) !important;</attribute>
</xpath>
<!-- Column #3 - Title -->
<xpath expr="(//div[hasclass('card-body')])[3]//h5" position="replace" mode="inner">
<xpath expr="(//div[hasclass('card-body')])[3]//h2" position="replace" mode="inner">
For the whole Family
</xpath>
<!-- Column #3 - Paragraph -->