콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
3243 화면
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
4060
1
7월 24
2283
1
7월 24
2305
1
12월 22
3055
0
5월 22
2606