İçereği Atla
Menü
Bu soru işaretlendi
3 Cevaplar
3963 Görünümler

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.

Avatar
Vazgeç
En İyi Yanıt

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

Avatar
Vazgeç
Üretici

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

En İyi Yanıt

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


Avatar
Vazgeç

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>

İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Mar 19
3204
2
Kas 16
5777
3
Haz 24
2089
6
Haz 24
7975
1
Haz 23
2788