Hello friends.... I wanted to customize css in my odoo13 website app, so I inherited the website.assets_frontend but still it is not working...
Note : 1) i had put the website module dependency
2) i am calling the template through controller
Please check the below code and give suggestions.....
Source code:
sample_webpage.xml
<template id="assets_frontend" inherit_id="website.assets_frontend">
<xpath expr="link[last()]" position="after">
<link rel="stylesheet" type="text/css" href="/openacademy/static/src/css/openacademy.scss"/>
</xpath>
</template>
<template id="sample_webpage">
<div class="holder">Hello You are done with the task !!!!!!!</div>
</template>
openacademy.css
.holder {
color:green;
}
The template(sample_webpage) is working but the css class 'holder' is not working...
Can there be any installation problem or its code problem?