Odoo Help


How to use CSS for only ONE modal window?

Pascal Tremblay
on 8/1/15, 8:28 AM 1,276 views

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;


                border: 2px solid #222222;


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

Thanks to help

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.


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

1 follower(s)


Asked: 8/1/15, 8:28 AM
Seen: 1276 times
Last updated: 8/1/15, 8:30 AM