コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
2914 ビュー
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
9月 24
3706
1
7月 24
1927
1
7月 24
1952
1
12月 22
2691
0
5月 22
2275