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

VERSION 9

Thanks to https://www.odoo.com/forum/help-1/question/how-change-the-logo-size-101691 I managed to change the logo size but now I cannot vertically center the logo.

FROM HTML EDITOR: //Customize/HTML Editor/Show Logo

<?xml version="1.0"?>

<data inherit_id="website.layout" customize_show="True" name="Show Logo">

<xpath expr="//header//a[@class='navbar-brand']" position="replace">

<a href="/" class="navbar-brand logo">

<img src="/logo.png" t-att-alt="'Logo of %s' % res_company.name" t-att-title="res_company.name" style="max-width: 200px; max-height:85px"/>

</a>

</xpath>

</data>

How to I vertically center the logo in the header?

Imagine profil
Abandonează
Cel mai bun răspuns

Please check my following answer: https://www.odoo.com/forum/help-1/question/how-change-the-logo-size-101691#answer-101712  

Please note that  the height of the navbar might change depending if there is a second line in the navigation because of missing width.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
5
dec. 15
5890
1
dec. 22
4178
3
ian. 24
16093
4
iul. 25
4020
0
iun. 24
1472