Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
3193 Vistas
Can classes or IDs be added to the elements (blocks) of the web? To identify and add css properties to unique elements.


Avatar
Descartar
Mejor respuesta

Hi,

Yes, in Odoo, just like in any other web development framework, you can add classes or IDs to elements (blocks) to identify and apply CSS properties to them. Odoo follows standard web development practices, so you can manipulate HTML templates and CSS files to achieve this.


Example :


<template id="custom_template" name="Custom Template">

    <div class="custom-class" id="unique-id">

        <!-- Your content here -->

    </div>

</template>



Hope it helps

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
sept 24
4005
1
jul 24
2243
1
jul 24
2253
1
dic 22
3001
0
may 22
2533