============== Website themes ============== Odoo offers numerous themes to shape your website's style, including its colors, fonts, and layouts. When setting up your site using the Odoo website configurator, you are prompted to select a theme that aligns with your desired aesthetic. If you wish to modify the theme options later, navigate to the website builder by clicking the :guilabel:`Edit` button and access the :guilabel:`Theme` tab. The following sections are available: - :guilabel:`Colors`: The website builder relies on palettes composed of five colors: two :guilabel:`Main` colors and three :guilabel:`Light & Dark` colors. You can also customize the :guilabel:`Color Presets` that have been defined automatically by the website builder according to the five colors defined above. Click the arrow next to a color preset to update it. Each color preset contains colors for your building block's :guilabel:`Background`, :guilabel:`Text`, :guilabel:`Headings`, :guilabel:`Links`, :guilabel:`Primary Buttons`, and :guilabel:`Secondary Buttons`. .. image:: themes/colors.png :alt: select the colors of your website :scale: 75% **To apply a color preset** to a building block of your site, select it, go to the :guilabel:`Customize` tab, click the :guilabel:`Background` button, and select the preset. .. note:: Changing a color preset automatically updates the colors of both the default preset and the building blocks where the preset is used. - :guilabel:`Website`: From this section, you can :guilabel:`Switch Theme`, :doc:`Add a Language <../configuration/translate>`, select the :guilabel:`Page Layout`, and customize the :guilabel:`Background` by uploading your own image. - :guilabel:`Paragraph`: Customize the formatting of your website's paragraph `
` elements.
.. tip::
The :guilabel:`Font Family` field contains fonts that are hosted and served by Google servers.
To add another font, click :guilabel:`Add a Google Font`, and, in the popup window, click
:guilabel:`fonts.google.com`.
.. image:: themes/add-a-font.png
:alt: Select the font you like
:scale: 75%
Select a font you like, copy the address of the page, paste it in the :guilabel:`Google Font
address` field, then click :guilabel:`Save and Reload`. The new font applies to your entire
website.
- :guilabel:`Headings`: Customize the formatting of your headings.
- :guilabel:`Button`: Customize the :guilabel:`Primary Style` and :guilabel:`Secondary Style`
buttons.
.. image:: themes/buttons.png
:alt: Two types of buttons in Odoo
- :guilabel:`Link`: To edit the style of the hyperlinks available on your website.
- :guilabel:`Input Fields`: Customize fields where you can enter data, e.g., a search bar or a form.
- :guilabel:`Advanced`: You can hide the header bar of your website using the
:guilabel:`Show Header` button, inject :ref:`head and body code