how to change the theme In odoo10


You add CSS path to your module

<?xml version="1.0" encoding="UTF-8"?>
<openerp>
    <data>
        <template id="assets_backend" name="Open Mobile Assets" inherit_id="web.assets_backend">
          <xpath expr=".">
                 <link rel='stylesheet' href="/ep_generic_web_customization/static/src/css/client_customizations.css"/>
          </xpath>
        </template>
    </data>
</openerp></pre>
<strong>Your CSS</strong> 

File(odoo\addons\ep_generic_web_customization\static\src\css\client_customizations.css)

.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
    color: #fcfcfc;
    background-color: #080808;
}

.navbar-inverse .navbar-nav > li > a {
    color: #e8df96;
}
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s