Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
5042 Visualizzazioni


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>


Avatar
Abbandona

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

Post correlati Risposte Visualizzazioni Attività
3
gen 25
14056
1
ago 24
1197
2
feb 24
6146
3
set 21
5977
1
mar 17
2459