Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
2972 มุมมอง
Can classes or IDs be added to the elements (blocks) of the web? To identify and add css properties to unique elements.


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.ย. 24
3754
1
ก.ค. 24
1990
1
ก.ค. 24
2008
1
ธ.ค. 22
2758
0
พ.ค. 22
2330