Skip to Content
Menu
This question has been flagged
1 Reply
9547 Views

good evening,

i am trying to hide a div in an odoo view which loads by default but for some reason it is not hidden which is the correct way to hide a div from a page on odoo website.

try this:

<div id = "content-loader" class = "display: none! important; visibility: hidden! important;" > <div class = "loader" /> </div>

also:

<div id = "content-loader" class = "hidden"> <div class = "loader" /> </div>

without success I will appreciate your help.

Regards.

odoo release: 12

Avatar
Discard
Best Answer

<template id="wizard_checkout_hide" inherit_id="website_sale.wizard_checkout">

    <xpath expr="//div[hasclass('wizard')]" position="attributes">

            <attribute name="t-att-style">'display: none;'</attribute>

    </xpath>

</template>

Avatar
Discard