Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
2913 Vues
Can classes or IDs be added to the elements (blocks) of the web? To identify and add css properties to unique elements.


Avatar
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
1
sept. 24
3704
1
juil. 24
1924
1
juil. 24
1949
1
déc. 22
2691
0
mai 22
2273