Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
2910 Tampilan
Can classes or IDs be added to the elements (blocks) of the web? To identify and add css properties to unique elements.


Avatar
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
1
Sep 24
3701
1
Jul 24
1923
1
Jul 24
1948
1
Des 22
2691
0
Mei 22
2273