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

How can i change the font color of my Out of Stock message e.g to red?

Awatar
Odrzuć
Najlepsza odpowiedź

Hi,

To change the font color of your "Out of Stock" message in Odoo, you can use the below methods. First, use the Website Editor by enabling Edit Mode, clicking on the message, and changing the font color through the style options.

for example:

If customization is needed at the template level, activate Developer Mode, go to Settings > Technical > User Interface > Views, locate the template rendering the message, and directly add a style tag like <div style="color: red;">Out of Stock</div>. Save the changes and refresh the website to apply.

for example:


Hope it helps

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
maj 24
1164