首页 > 解决方案 > 如何增加网站 odoo 13 中的徽标大小?

问题描述

我试图在网站主页上增加标志大小,Odoo 13但显示标志的代码Odoo 13版本不同,如何增加该代码中的标志?它试图把

<"style="max-width: 200px; max-height: 150px;"/>

在跨度但不起作用。

<?xml version="1.0"?>

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

    <xpath expr="//header//a[hasclass('navbar-brand')]" position="replace">

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

            <span t-field="website.logo" t-options="{'widget': 'image'}" role="img" t-att-aria-label="'Logo of %s' % website.name"  t-att-title="website.name" />

        </a>

    </xpath>

</data>

标签: javascripthtmlxmlodoo

解决方案


推荐阅读