Author Topic: How to change the background color on the login page  (Read 12792 times)

Offline hokaido

  • Jr. Member
  • **
  • Posts: 21
How to change the background color on the login page
« on: December 30, 2019, 06:13:02 PM »
Hi,

how can I change the background color on the login page from white to lets say black. I was able to change the logo already.

Thanks

Stefan

Offline hokaido

  • Jr. Member
  • **
  • Posts: 21
Re: How to change the background color on the login page
« Reply #1 on: January 02, 2020, 10:14:04 AM »
Seems there is not much feedback here :(

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: How to change the background color on the login page
« Reply #2 on: January 02, 2020, 11:06:02 AM »
You would need to extend the theme with an update background color. See https://github.com/roundcube/roundcubemail/wiki/Skins for the information on extending the theme.

Offline hokaido

  • Jr. Member
  • **
  • Posts: 21
Re: How to change the background color on the login page
« Reply #3 on: January 02, 2020, 11:28:11 AM »
That`s too much work. I simply want to change the background color. And therefore no need to change several files.
Anyway, thanks for the help

Offline willy-wonka

  • Newbie
  • *
  • Posts: 1
Re: How to change the background color on the login page
« Reply #4 on: January 14, 2023, 02:13:46 AM »
You would need to extend the theme with an update background color. See https://github.com/roundcube/roundcubemail/wiki/Skins for the information on extending the theme.

Thanks for this link. It was not as simple as it should be to find this information.

Offline facedirect

  • Newbie
  • *
  • Posts: 2
Re: How to change the background color on the login page
« Reply #5 on: April 22, 2023, 11:28:22 AM »
I need help with the same questions.
I extend my elastic theme, add customstyles.css And all styles apply normally except background. so I don't do the background image or background color does not change.

Offline Dmitry42

  • Full Member
  • ***
  • Posts: 232
Re: How to change the background color on the login page
« Reply #6 on: April 23, 2023, 09:16:46 PM »
On 1.6.1 I use plugin for change login page background image.
Here is plugin and my comment:
https://github.com/BlueLama/rc-login-background/issues/1

Quote
Plugin not correct work on modern version of Roundcube. I install it manually by downloading to ...roundcube/plugin/rc_login_background.
Now I test it and plugin required modification in custom.php like this:
.......
$img=date("n").".jpg";
echo "
#layout-content {
background-color: transparent !important;
}
body
{..........
and another one in rc_login_background.php you must replace custom.css to custom.php:
function render_page($p)
{
$this->include_stylesheet('custom.php');
}
so now it work for me