Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2953 Lượt xem
Can classes or IDs be added to the elements (blocks) of the web? To identify and add css properties to unique elements.


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 9 24
3747
1
thg 7 24
1972
1
thg 7 24
1988
1
thg 12 22
2747
0
thg 5 22
2309