Odoo Help
Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM
|
e-Commerce
|
Accounting
|
Inventory
|
PoS
|
Project management
|
MRP
|
etc.
How to change LINK COLOR
How can I change the link color of the Website?
I try to search this:
web/css/website.assets_frontend/19448cb
but I only found this:
/web/static/lib/bootstrap/css/bootstrap.css
When I change the bootstrap.css a{} color, nothing happends
too much specific question on quite wider subject... but, here is answer:
option 1: Change theme in odoo website to one of existing (go to: "Customize/Change Theme" from website), or create/add your own theme...
option 2: through custom module (say named as my_module):
__openerp__.py:
...
'depends': ['website'],
'data':['my_module_view.xml'],
...
my_module_view.xml:
<openerp>
<data>
<template id="assets_frontend" name="my_module assets" inherit_id="website.assets_frontend" >
<xpath expr="." position="inside">
<link rel='stylesheet' href="/my_module/static/src/css/style.css"/>
</xpath>
</template>
</data>
</openerp>
static/src/css/style.css:
a {
color: #CA4040;
text-decoration: none;
}
option 3: it may work to change "/web/static/lib/bootstrap/css/bootstrap.css" or "/website/static/src/css/website.css" or whatever is original location of a {} style in base code, but that's not a recommended way, as any further update of web/website modules will discard your changes...
I suggest you to stick with first, or second option.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.
RegisterOdoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.
Test it nowQuestion tools
Stats
Asked: 10/6/15, 2:43 AM |
Seen: 1430 times |
Last updated: 10/7/15, 7:44 AM |