I'm trying to create a new theme for Odoo 16. I'm having an issue trying to get a custom gradient to stick in the header.
Anyone know the code to do such a thing? Also is there any in depth documentation on theming Odoo 16?
Thank you,
Anthony Taylor
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I'm trying to create a new theme for Odoo 16. I'm having an issue trying to get a custom gradient to stick in the header.
Anyone know the code to do such a thing? Also is there any in depth documentation on theming Odoo 16?
Thank you,
Anthony Taylor
Hi,
You can check the documentation by odoo on how to develop themes in odoo 16.
The link is given below.
https://www.odoo.com/documentation/16.0/developer/howtos/themes.html
To add a gradient to the header, you can add the css by calling the navbar inside the header tag.
eg:
header nav.navbar {
background: linear-gradient(red, orange);
}
Regards
Using this approach 'hard codes' the color into the header. I was wanting to program the customizer to have my header color, yet still be useful.
I'm looking for something more 'in-depth' then the standard documentation which starts off with: "This tutorial is outdated and won’t work out of the box."
Hi
You can refer to the following documentation
https://www.odoo.com/documentation/16.0/developer/howtos/themes.html
https://apps.odoo.com/apps/themes/16.0/muk_web_theme/
Hope this Helps
Regards
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
2
Feb 25
|
1631 | ||
|
1
May 23
|
1451 | ||
|
1
Sep 23
|
2504 | ||
|
1
Apr 23
|
5404 | ||
|
1
Dec 22
|
2629 |