跳至内容
菜单
此问题已终结
11 回复
91067 查看

how to set background theme in odoo.

形象
丢弃
最佳答案



You add css file to your module

<!-- Append css to assets_backend [Use assets_frontend if website] -->
<template id="assets_backend" name="my custom theme" inherit_id="web.assets_backend">    
     <xpath expr="." position="inside">
           <link rel="stylesheet" href="/path/to/your.css"/> 
     </xpath>
</template>

Open your css and add styles. That will override the existing css of odoo.

Hint: Inspect Element ( ctrl+shift+i ), edit css , copy and paste to your css file.
/*Example*/
.o_sub_menu {
    background-color: red;
}

You can watch this on YouTube

All the Best !

形象
丢弃
最佳答案

1). To get new theme for your website you can download your theme from :-  https://www.odoo.com/apps/themes.  

2). To set new theme on your website then :- 

     Step 1 - Open website builder module.

     Step 2 - Now in "Customize" menu select "Customize Theme".  Now you can see all your  available OR installed themes. You can select any of them by click on that theme and it will applied to your website.

形象
丢弃
最佳答案

Video Link: https://youtu.be/amHpruXQMOg


Module Link: https://github.com/hareshkansara/odoo_tutorial/tree/13.0/odoo_theme_backend

形象
丢弃
最佳答案

You can change themes in odoo by installing Website Theme Install application using link https://www.odoo.com/apps. and search for themes in the search box. so you get one application named Website Theme Install and install it.


形象
丢弃
最佳答案

You can change themes in odoo by installing Website Theme Install application using link https://www.odoo.com/apps. and search for themes in the search box. so you get one application named Website Theme Install and install it. 

So By your choice you can choose any theme from that application.

形象
丢弃
最佳答案

There  are many themes available in odoo .You can download the themes from the link as follows: --  - https://www.odoo.com/apps/themes 

形象
丢弃
最佳答案

You can download your theme from https://www.odoo.com/apps/themes

and then install it

形象
丢弃
最佳答案

in apps module of odoo search for the themes in search box , it will display different themes like 

Bootswatch Theme,Default Theme,Mass Mailing Themes and so on...,

select anyone from it and install it

形象
丢弃
最佳答案

How do change theme in odoo.sh??? Dont works ...


形象
丢弃
最佳答案

Get latest E-commerce theme for your website https://www.odoo.com/apps/themes/11.0/theme_crafito

形象
丢弃
相关帖文 回复 查看 活动
4
4月 23
7934
2
7月 25
735
Theme 已解决
2
11月 24
1291
0
10月 24
917
1
7月 24
1906