콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
5460 화면


I'm trying to add another class to the wrapwrap div located in fronend_layout. But the following code doesn't seem to work in Odoo 11 Community.

Anyone have a fix for this. I know the xpath is correct beucase I can add different attributes and they work. But class just won't work at all.

<template id="sws_nucleus" inherit_id="portal.frontend_layout" name="Add Nucleus">
<xpath expr="//div[@id='wrapwrap']" position="attributes">
<attribute name="class">nucleus</attribute>
</xpath>
</template>


아바타
취소

If attributes don't work, have you tried replacing the whole div with added class?

관련 게시물 답글 화면 활동
3
1월 25
15009
1
8월 24
2308
2
2월 24
7314
3
9월 21
6490
1
3월 17
2926