Jump to content

Change prestashop 1.6 Admin login Page background


Recommended Posts

Open yourdomain/youradminfolder/themes/default/css/admin-theme.css and find

.bootstrap #login {
    background: radial-gradient(at left top , rgba(104, 128, 138, 0.4) 10%, rgba(138, 114, 76, 0) 40%) repeat scroll 0 0%, -moz-linear-gradient(center top , rgba(57, 173, 219, 0.25), rgba(42, 60, 87, 0.4)) repeat scroll 0 0%, -moz-linear-gradient(left top , #670d10, #092756) repeat scroll 0 0 rgba(0, 0, 0, 0);
    min-height: 100%;
    padding-bottom: 45px;
}

Change background to desired color.

Link to comment
Share on other sites

you can also manage colors on your account settings page

as far as i remember there is a feature to change the bg color

 

EDIT:

i've noticed that you're asking about login page... not back office.

btw. login plage isn't white, it's dark ...

Link to comment
Share on other sites

  • 3 weeks later...

As far as i know css/admin-theme.css is auto generated from sass files, all modifications to that could be overwritten as soon as the sass files gets compiled again.

 

I'm trying to do exactly the same without success.

I don't know where to begin with Sass files, nor do i know exactly how to compile them.

 

Then I've found this file :

 

..admin/themes/default/sass/controllers/_login.sass

 

that have all the required code to properly change the background color but, again, i can't tell how this works.

 

If somebody can clarify this it would be really appreciated!

 

Link to comment
Share on other sites

I've found this thread:

 

http://www.prestashop.com/forums/topic/307001-re-compile-globalsass-and-theme-variablesscss/

 

in that discussion Dh42 suggest that:

  Quote

 

the css files are built from the sass files before the version is released

 

so may be just modifying admin-theme.css should do the trick.

 

Am I wrong with this assumption?

Link to comment
Share on other sites

  • 2 years later...
×
×
  • Create New...