Sign in
Try it free
  • Apps
    Websites
    Build great user experience
    • Website Builder
    • eCommerce
    • Blogs
    • Forums
    • Slides
    • Live Chat
    Sales
    Boost your success rate
    • Sales
    • CRM
    • Invoicing
    • Point of Sale
      • Shops
      • Restaurants
      • Hardware
    • Subscriptions
    • Sign
    Operations
    It's all about efficiency
    • Accounting
    • Project
    • Human Resources
      • Recruitment
      • Employees
      • Expenses
      • Appraisal
      • Fleet
      • Leaves
    • Inventory
    • Purchase
    • Manufacturing
      • MRP
      • PLM
      • Maintenance
      • Quality
    • Helpdesk
    Productivity Tools
    Great Tools = Happy People
    • Communication
      • Discuss
      • Mailing Lists
      • Notes
    • Timesheet
    • Email Marketing
    • Events
    • Survey
    • Appointments
    • Marketing Automation
    Third party apps | Odoo Studio | Odoo Cloud Platform NEW
  • Tour
  • Pricing
  • Community
  • Docs

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.

Take the tour
Help
  • Trending
  • Newest
  • People
  • Tags
  • Badges
Ask a Question
0

How to change LINK COLOR

colors css bootstrap
By
wizardz
on 10/6/15, 2:43 AM • 1,430 views

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

  • Flag
  • Reply
  • Comment
  • Share
1

Temur

--Temur--

3107
| 6 5 7
Tbilisi, Georgia
--Temur--
Programmer
Temur
On 10/6/15, 11:14 AM

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.

  • Comment
  • Flag
0

Pawan

--Pawan--

1467
| 4 4 6
Hyderabad, India
--Pawan--


Pawan
On 10/6/15, 8:50 AM

Stephane,

If you are having an anchor tag <a>, then you can use normal HTML tag only to add color like:

<a style="color:red;">YOUR TEXT</a>

Hope it help!!

  • Flag

I need to change the global a{} and not only for 1 html link.

wizardz
on 10/6/15, 9:09 AM

so you can create your own custom module and add a new css file
and in that file add a new class
a{
color:red;
}

Pawan
on 10/7/15, 1:04 AM
  • Comment

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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

Thanks for your subscription!
1 follower(s)

Stats

Asked: 10/6/15, 2:43 AM
Seen: 1430 times
Last updated: 10/7/15, 7:44 AM
Community
  • Github
  • Download
  • Runbot
  • Translations
  • Mailing Lists
  • Forum
Services
  • Odoo Cloud Platform
  • Support
  • Upgrade
  • Find a partner
  • Become a partner
  • Training center
  • Education
  • Security
About us
  • Our company
  • Contact
  • Events
  • Blog
  • Customers
  • Jobs
  • Legal | Privacy
  • English
    • 简体中文
    • Nederlands
    • Français
    • Deutsch
    • Italiano
    • Português (BR)
    • Español

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Live Webinar on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Watch now