Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
664 Vistas

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

Avatar
Descartar
Mejor respuesta

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

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
may 24
1159