Ir al contenido
Menú
Se marcó esta pregunta
4 Respuestas
11675 Vistas

How can i increase the size of company logo to fill all header space?

i've tried to to hide header from external layout and i've added an image of the header that i want but the top of report in header space still empty(white), and the same for footer.How can I overcome that?

i am using odoo enterprise version 13

Avatar
Descartar
Autor

thanks for your response.

I really did these steps but i want header only contains company logo without tagline and the logo fill all of the upper space instead of the top left. i want to do this through code or any possible way.

Hello Wafaa Mohamed,

I have updated the answer as per your query; please check

Add custom header and footer: http://bit.ly/2VMX63r

Mejor respuesta

Hello Wafaa Mohamed,

You need to override "external_layout_backgroud" with the following code:

<template id="external_layout_background_inherit" inherit_id="web.external_layout_background">

<xpath expr="//div[@class='o_background_header']" position="replace">

## Your Code

</xpath>

</template>

Hope your query will resolve by now. Feel free to ask in case of any query

 Thanks

Anisha Bahukhandi

Technical Content Writer

Avatar
Descartar

inherit_id="web.external_layout_standard"

this this case its not working