This question has been flagged
2 Replies
18119 Views

Dear All,

Please let me know, How to Place a Back ground image in Login screen of V7?

Avatar
Discard
Author Best Answer
  1. Go to web/static/src/css
  2. Open the base.css file.
  3. Replace the Linen number 843 background-image: url(htp://htp://www(dot)un(dot)org....); May be we can comment the line by /* ....and */

    Suppose your image is placed under /web/static/src/img/ MY_BG_IMAGE.png

  4. Then put a line like: background-image: url('/web/static/src/img/MY_BG_IMAGE.png ');
  5. To stop repeating this add this line: background-repeat:no-repeat; Thats it.
Avatar
Discard

it's an interesting thread. http://help.openerp.com/question/3915/what-is-the-kitten-mode/. check it. you will like it.

Author

Yes, Atul. :) Kitten Mode.. :D

Best Answer

Hi.. You can change background image of login screen.

edit base.css file in the following path. web/static/src/xml

you can add the image file in this div

<div class="oe_login_logo"><img src='/web/static/src/img/'/></div>

You can place your image in the img folder.

Avatar
Discard
Author

Hello Ashmsh,

Thank you for the reply.

Please let me knowm in which DIV I should give the image file's location?

Hi, I update my answer. Please check it..

Author

Dear Ashmsh,

Thank you for the reply. This is for changing the LOGO in Login screen right ?

But, there is a "tile" like small image which is repeated. I want to replace that with a single Image, and this Image should be properly aligned in all screen resolutions.

Inorder to change the allignment of the image. Please edit base.css file in web/static/src/css

Author

Yes, Ashmsh, I think its in Line number 843 . background-image: url('/web/static/src/img/ ');

But it is getting repeated..how to stop it? and How to make the view same for all resolutions ?