Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
15049 มุมมอง

I'm designing a website with Odoo Online and I would like to use my own css code. How can I do it?

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

Here are the steps to use your own css for your Odoo website: https://drive.google.com/file/d/0B1uIL9E_zXrrMVRUeGlQcW9rN3M/view?usp=sharing

Here is the code for the new view:
<?xml version="1.0"?>
<data inherit_id="website.assets_frontend" name="mycss">
      <xpath expr="." position="inside">
          <style>
              INSERT YOUR CSS HERE
          </style>
      </xpath>
    </data>

You can also upload your css file into Odoo and use it: https://drive.google.com/file/d/0B1uIL9E_zXrrMmVoa0QxVjV3aGs/view?usp=sharing


Here is the code for the view:
<?xml version="1.0"?>
<data inherit_id="website.assets_frontend" name="mycss">
      <xpath expr="." position="inside">
          <link rel="stylesheet" href="INSERT YOUR CSS SHEET LINK HERE"/>
      </xpath>
    </data>




อวตาร
ละทิ้ง

Thank you very much, nice! Could please post the link to the video tutorial?

I did edit your post to enhance readability.

ผู้เขียน

There is an issue with the answer format system of our forum. While our technicians are fixing it. Here are the links:

- insert css straight away: https://drive.google.com/file/d/0B1uIL9E_zXrrMVRUeGlQcW9rN3M/view?usp=sharing

- use a css file: https://drive.google.com/file/d/0B1uIL9E_zXrrMmVoa0QxVjV3aGs/view?usp=sharing

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.ค. 25
652
2
มิ.ย. 25
2258
1
เม.ย. 25
866
3
เม.ย. 25
2498
1
เม.ย. 25
1734