Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
3 Răspunsuri
3973 Vizualizări

When I added a module to my website my footer (one where it says copyright info & switch language &powered by Odoo) is positioned at the middle of the site, its at a fixed spot on all the pages.instead of the bottom of the page. I think the footer lost the dynamic nature if it. I uninstalled the module and its still the same. Can you tell me how to reset this error.

Imagine profil
Abandonează
Cel mai bun răspuns

I am also having this problem, did you have any luck resolving it?

Imagine profil
Abandonează
Autor

nothing I was hoping someone from odoo to help out but no luck yet

as you can see above, I found a solution wiith height: auto; attribute in <main> div

Cel mai bun răspuns

Hello just found how to solve the issue :

change in "Frontend Layout" view (ID: web.frontend_layout)

add 

style="height: auto;" 
to `<main>` div to have correct behavior
                <main style="height: auto;">
                    <t t-raw="0"/>
                </main>

   

I leave it to you, to do the necessary <xpath> modifications.

Hope this help


Imagine profil
Abandonează

xpath inherited viiew :

<record model="ir.ui.view" id="frontend_layout_fix">

<field name="name">Frontend Layout fix</field>

<field name="inherit_id" ref="web.frontend_layout"/>

<field name="arch" type="xml">

<data>

<xpath expr="//main" position="attributes">

<attribute name="style">height: auto;</attribute>

</xpath>

</data>

</field>

</record>

Related Posts Răspunsuri Vizualizări Activitate
0
mar. 19
3232
2
nov. 16
5805
3
iun. 24
2134
6
iun. 24
8143
1
iun. 23
2822