Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • 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
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

Where can I find the CSS files for the Website Builder.

Subscribe

Get notified when there's activity on this post

This question has been flagged
website_builder
3 Replies
14212 Views
Avatar
Mark Wells

I want to makes some modifications to the CSS for the standard Blog in the Website builder.  Does anyone know where those CSS files for the Themes are located??

1
Avatar
Discard
Anil Kesariya

/odoo/addons/website_blog/static/src/css/website_blog.css

Ray Carnes

Thanks Luke

Avatar
Luke Branch
Best Answer

You can find the CSS, XML, and JS for the blog in:

XML:
/addons/website_blog/views/
/addons/website_blog/static/src/xml

CSS:

/addons/website_blog/static/src/css

JS:

/addons/website_blog/static/src/js

I'd recommend leaving the core files alone, as otherwise you will lose your changes when you upgrade the module in the future.

You can refer to the following guide as a reference for inheriting and over-riding the standard CSS, XML, and JS:

https://www.odoo.com/forum/help-1/question/new-bootstrap-theme-on-website-builder-58809

What i'd recommend is creating a new, very basic module to override/replace the core files with your own modified files for the blog. You can do this by following the instructions below:

  1. Create a new directory in your addons directory for your module (eg. website_blog_mark)
  2. create an empty __init__.py file in that folder (this can be used to add python logic to your module later, but will be uneccessary for your current requirements)
  3. create an __openerp__.py with the following in it (you can change my customisations such as Blog CSS Mark Wells, etc.):

    {

    'name': 'Blog CSS Mark Wells',

    'category': 'Website',

    'website': 'http://www.YOURWEBSITEHERE.com',

    'summary': 'News, Blogs, Announces, Discussions',

    'version': '1.0',

    'description': """

    Mark Wells Blog

    ============

    """,

    'author': 'Mark Wells',

    'depends': ['website_blog'],

    'data': [

    'data/theme.xml',

    ],

    'installable': True,

    'application': True,

    }

  4. create a subdirectory in your theme called data
  5. create a file in data called theme.xml
  6. put the following content in theme.xml:
    <?xml version="1.0" encoding="UTF-8"?>
  7. follow the instructions in the forum post link i've provided to either replace the files with your own custom css, js, and xml using xpath to inherit and replace files, or parts of files
  8. create a subdirectory in your modules root directory called static (eg. /addons/website_blog_mark/static)
  9. create subdirectories for css, js, xml, or whatever else you'd like to put into your module.
  10. in your theme.xml file you can add your custom css and js as required by using the module's path (eg. website_blog_mark/static/css/mark_theme.css)

Feel free to post back in the comments if you have any more questions.

3
Avatar
Discard
Taher Giyori

How can I access/change it (the CSS file) using the Website Builder - Web Interface?

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
AssertionError while install Appoinment in website
website_builder
Avatar
Avatar
Avatar
2
Nov 25
153
Website Issue
website_builder
Avatar
Avatar
Avatar
Avatar
4
May 25
9375
Hide website menu items on mobile
website_builder
Avatar
Avatar
Avatar
2
Jan 25
2972
Can't drag and drop elements on website page anymore
website_builder
Avatar
Avatar
Avatar
Avatar
Avatar
4
Jan 25
5366
Adding a second Website to my database that resolves to an additional organization I have setup Odoo ver 17.4
website_builder
Avatar
0
Nov 24
2396
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

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

Odoo Experience on YouTube

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

Live support on Youtube
Watch now