Skip to Content
Menu
This question has been flagged
3 Replies
8117 Views

Hello,

I have an issue with Odoo 11 Logo resizing.  I have an online database using one of the free themes available.

I have uploaded the company logo in the company profile. This automatically publishes the logo onto the website.

But the logo appears very small. 

Does anyone knows where to find this doc

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

            <span data-oe-model="res.company" data-oe-id="1" data-oe-field="logo" data-oe-type="image" data-oe-expression="res_company.logo" style="max-height:120px" alt="Logo of bessoniere" title="bessoniere"><img class="img img-responsive" src="/web/image/res.company/1/logo?unique=773f3e5" style=""></span>

        </a>


I believe that if i can set the height in the style argument, I will be able to modify the size. 


Avatar
Discard
Best Answer

Iget an error

Opening and ending tag mismatch: _cript line 5 and script, line 13, column 26Opening and ending tag mismatch: _cript line 5 and script, line 13, column 26 

Avatar
Discard
Author Best Answer

Thanks Ermin for your reply and your time. 


About the Size

The logo i uploaded was 394 × 252, so way under these dimension. 


About customising

I have tried the "customize" menu but the code has changed a lot between version 10 and 11.

In Main Layout view I cannot find the following container, which helps control the size of the nav bar header.

In Main Layout view, here is the code existing in Version 10 but absent in version 11

<div id="wrapwrap" t-att-class="pageName or ''">
            <header>
                <div class="navbar navbar-default navbar-static-top" style="height:100px">
                    <div class="container">
                        <div class="navbar-header" style="margin-top:-17px">


In Show Logo view: When changing the logo size, there is no effect on the size.


I version 10,  I change the logo size in Show Logo Layout and  change the nav bar size in Main Layout to adjust for the new size.

but i cannot do the same in version 11. 

Any thoughts about this issue?

Avatar
Discard
Best Answer

First of all, check if your logo has a width of less than 1024 pixel, if it has more, it will automatically get squared and therefore very small on the website.

If you would like to further customize the logo bar, you'll find the code using the "Customize" menu in the website builder (Show Logo or Main Layout) or in the corresponding qweb views in the Technical menu.
Avatar
Discard
Related Posts Replies Views Activity
1
Jul 19
5736
1
Jul 17
8913
0
Sep 21
5587
2
Aug 19
4728
0
Nov 24
21