跳至內容
選單
此問題已被標幟
5480 瀏覽次數


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
15017
1
8月 24
2324
2
2月 24
7317
3
9月 21
6492
1
3月 17
2931