Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
4 Odpowiedzi
8029 Widoki

Hello Everyone,

I'm using the Treehouse theme on the website App. I would like to be able to choose my own specific colors, but through the personalize tab, you can only select colors from predefined palettes.


Is there a way to achieve this? Manually changing the CSS would b an option, but how could I do this on Odoo Online?

Greets,

Julio.

Awatar
Odrzuć
Najlepsza odpowiedź

Simply go to your Website and click "edit" > "HTML-/CSS-Editor". Then coose in the top left corner "SCSS (CSS)" and the file "website" for example in the menu. At the top of the code write something like this: 

/* Global color defaults*/
$primary-color: #000000 !default;
$secondary-color: #ffffff !default;
/* *** */

Now you can use the global colors everywhere you want in the css code. For example:

.carousel-content {
color: $primary-color;

Hope it helps. Best regards. 

Awatar
Odrzuć
Najlepsza odpowiedź

You can add custom sccs in odoo online version. 

Awatar
Odrzuć
Najlepsza odpowiedź

Currently there is not a solution for this. Odoo 11 is bringing an option to edit CSS which will allow you this option. Online I do not believe will give this option but Enterprise self-hosted will. We ran into this same issue using online and switched to self so we could more easily access this code. The other option for online is to pay for service pack and have Odoo support do the updates for you.

Awatar
Odrzuć
Najlepsza odpowiedź

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


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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
11
kwi 25
91489
2
lip 25
858
Theme Rozwiązane
2
lis 24
2115
0
paź 24
1043
1
lip 24
2021