Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
2975 Visninger
Can classes or IDs be added to the elements (blocks) of the web? To identify and add css properties to unique elements.


Avatar
Kassér
Bedste svar

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
1
sep. 24
3757
1
jul. 24
1993
1
jul. 24
2008
1
dec. 22
2759
0
maj 22
2335