mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_loftspace: revamp the theme
This commit revamp the design of the `theme_loftspace`. task-4178079 part of task-4177975 closes odoo/design-themes#910 Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
This commit is contained in:
@@ -2,25 +2,25 @@
|
||||
<odoo>
|
||||
|
||||
<template id="s_cta_box" inherit_id="website.s_cta_box">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc2" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Card -->
|
||||
<xpath expr="//div[hasclass('card')]" position="attributes">
|
||||
<attribute name="class" add="o_cc5" remove="o_cc4" separator=" "/>
|
||||
<attribute name="class" add="o_cc1" remove="o_cc4" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
Your new interior awaits !
|
||||
Transform your space with<br/>our furniture. Contact us<br/>to bring your vision to life!<br/>
|
||||
</xpath>
|
||||
<!-- Paragraphs -->
|
||||
<xpath expr="//p" position="replace" mode="inner">
|
||||
Unleash your inner artist and give yourself the perfect interior design<br/><br/>
|
||||
</xpath>
|
||||
<!-- Image -->
|
||||
<xpath expr="//img" position="attributes">
|
||||
<attribute name="src">/theme_loftspace/static/src/img/content/content_img_03.jpg</attribute>
|
||||
<!-- Paragraph -->
|
||||
<xpath expr="//p" position="replace">
|
||||
<p><br/></p>
|
||||
</xpath>
|
||||
<!-- Button -->
|
||||
<xpath expr="//a[hasclass('btn')]" position="replace" mode="inner">
|
||||
Shop now
|
||||
<xpath expr="//a[hasclass('btn')]" position="attributes">
|
||||
<attribute name="class" remove="btn-lg" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user