Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
2903 Visualizzazioni
Can classes or IDs be added to the elements (blocks) of the web? To identify and add css properties to unique elements.


Avatar
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
set 24
3683
1
lug 24
1915
1
lug 24
1945
1
dic 22
2691
0
mag 22
2268