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

Hello all,

I'm able to use CSS to modify the modal window in my sale invoices view. But my CSS affects ALL the modal windows... I can't find an ID for only this modal. 



Actually, I use this CSS code. But it affects ALL the modal of the backend...

        .modal-content.openerp {

                margin-top: 200px;

                margin-right: 300px;

                width:800px;

                border: 2px solid #222222;

        }


How could I affect only this ONE modal window with my CSS?

Thanks to help

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด


Hey @Pascal Tremblay,

You can simply add your class on your modal/wizard view like below,

Please find the code from Comment.



and then write scss/css on that specific class.
Your css will work only for that modal/wizard.

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

อวตาร
ละทิ้ง

<form string="Sale Invoices" class="YOUR_CUSTOM_CLASS">

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.ค. 24
1915
1
ก.ค. 24
1942
1
ธ.ค. 22
2691
How to add css file in module? [SOLVED] แก้ไขแล้ว
2
มี.ค. 18
20100
1
มี.ค. 15
4046