odoo网站之主题详解

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 Edit button and access the Theme tab. The following sections are available:

  • Colors: The website builder relies on palettes composed of five colors: two Main colors and three Light & Dark colors.

    You can also customize the 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 Background, Text, Headings, Links, Primary Buttons, and Secondary Buttons.

    select the colors of your website

    To apply a color preset to a building block of your site, select it, go to the Customize tab, click the 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.

  • Website: From this section, you can Switch Theme, Add a Language, select the Page Layout, and customize the Background by uploading your own image.

  • Paragraph: Customize the formatting of your website’s paragraph <p> elements.

     Tip

    The Font Family field contains fonts that are hosted and served by Google servers. To add another font, click Add a Google Font, and, in the popup window, click fonts.google.com.

    Select the font you like

    Select a font you like, copy the address of the page, paste it in the Google Font address field, then click Save and Reload. The new font applies to your entire website.

  • Headings: Customize the formatting of your headings.

  • Button: Customize the Primary Style and Secondary Style buttons.

    Two types of buttons in Odoo

  • Link: To edit the style of the hyperlinks available on your website.

  • Input Fields: Customize fields where you can enter data, e.g., a search bar or a form.

  • Advanced: You can hide the header bar of your website using the Show Header button, inject head and body code, enter your Google Map Custom Key, change the colors of the Success, Info, Warning, and Error pop up messages by clicking the related Status Colors buttons, and customize the Grays elements of your site.

     Example

    • The Status Color of the Success messages is set to green.

      Status colors success message set to green.

       

      Success message is green

    • Customizing the gray elements of your site.

      Customize the grays elements of your site

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值