Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
5496 Weergaven


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
Annuleer

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

Gerelateerde posts Antwoorden Weergaven Activiteit
3
jan. 25
15041
1
aug. 24
2336
2
feb. 24
7333
3
sep. 21
6504
1
mrt. 17
2938