Community mailing list archives

community@mail.odoo.com

My Wesbite theme custom CSS conflicted with Odoo website own CSS

by
Yassine TEIMI
- 07/08/2015 14:32:14
Dears, 

I tried to add my custom css using a theme module, trying this : 

<template id="website.theme_chd_misc" name="theme_chd_misc" inherit_id="website.theme" optional="enabled" priority="1">
     <xpath expr="//link[last()]" position="after">
             <link href="/theme_custom/static/css/custom.css" rel="stylesheet" type="text/less"/>
    </xpath>
</template>

After, a white space appeared on the top of the website like this snappshot is describing : 


I deleted this override, but the css effect stills there. I removed the css file from my theme module, and then I get the following error : 


the file custom.css defined on website.assets_frontend doesn't exist. 


Where can I find this definition on website.assests_frontend to delete it, I don't want it anymore.

Thanks.



--

Cordialement

Yassine TEIMI

Consultant & Odoo Project Manager
TEL : +212 6-27 33 30 78