- Repo for opensource odoo website theme (since V13.0)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
1.2 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <template id="s_call_to_action" inherit_id="website.s_call_to_action">
  4. <!-- Section -->
  5. <xpath expr="//section" position="attributes">
  6. <attribute name="class" add="pt64 pb48" remove="pt48 pb24 bg-200" separator=" "/>
  7. </xpath>
  8. <!-- Column #01 -->
  9. <xpath expr="//div[hasclass('row')]/div[1]" position="attributes">
  10. <attribute name="class" add="col-lg-12 text-center" remove="col-lg-9" separator=" "/>
  11. </xpath>
  12. <xpath expr="//div[hasclass('row')]/div[1]//h3" position="replace">
  13. <h3><b>Help us protect and preserve</b> for future generations</h3>
  14. </xpath>
  15. <xpath expr="//div[hasclass('row')]/div[1]//p" position="replace">
  16. <p>Join us and make the planet a better place.</p>
  17. </xpath>
  18. <!-- Column #02 -->
  19. <xpath expr="//div[hasclass('row')]/div[2]" position="attributes">
  20. <attribute name="class" add="col-lg-12" remove="col-lg-3" separator=" "/>
  21. </xpath>
  22. <xpath expr="//div[hasclass('row')]/div[2]//p" position="attributes">
  23. <attribute name="style">text-align: center;</attribute>
  24. </xpath>
  25. </template>
  26. </odoo>