Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
3940 Zobrazení

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
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit
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

Nejlepší odpověď

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
Zrušit

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 Odpovědi Zobrazení Aktivita
0
bře 19
3187
2
lis 16
5756
3
čvn 24
2013
6
čvn 24
7801
1
čvn 23
2755