Help

3

How to place Back Ground Image in Login Screen ?

Avatar
Nisthulan

Dear All,

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

Avatar
Discard
2 Answers
1
Avatar
Nisthulan
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.
2 Comments
Avatar
Discard
Avatar
Atul Arvind
-

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

Avatar
Nisthulan
-

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

1
Avatar
Ashmsh.M
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.

5 Comments
Avatar
Discard
Avatar
Nisthulan
-

Hello Ashmsh,

Thank you for the reply.

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

Avatar
Ashmsh.M
-

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

Avatar
Nisthulan
-

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.

Avatar
Ashmsh.M
-

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

Avatar
Nisthulan
-

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 ?