تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
2899 أدوات العرض
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

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
سبتمبر 24
3673
1
يوليو 24
1915
1
يوليو 24
1942
1
ديسمبر 22
2691
0
مايو 22
2268