Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

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

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
website_builder
3 Răspunsuri
14219 Vizualizări
Imagine profil
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
Imagine profil
Abandonează
Anil Kesariya

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

Ray Carnes

Thanks Luke

Imagine profil
Luke Branch
Cel mai bun răspuns

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
Imagine profil
Abandonează
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!

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
AssertionError while install Appoinment in website
website_builder
Imagine profil
Imagine profil
Imagine profil
2
nov. 25
180
Website Issue
website_builder
Imagine profil
Imagine profil
Imagine profil
Imagine profil
4
mai 25
9378
Hide website menu items on mobile
website_builder
Imagine profil
Imagine profil
Imagine profil
2
ian. 25
2977
Can't drag and drop elements on website page anymore
website_builder
Imagine profil
Imagine profil
Imagine profil
Imagine profil
Imagine profil
4
ian. 25
5370
Adding a second Website to my database that resolves to an additional organization I have setup Odoo ver 17.4
website_builder
Imagine profil
0
nov. 24
2404
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة 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 este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

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