Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
2920 Представления
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
3715
1
июл. 24
1943
1
июл. 24
1958
1
дек. 22
2711
0
мая 22
2289