The title pretty much sums it up. I made a Sky subtheme and in most respects it works fine, except for this one bizarre glitch: any time I try to set the Page background in the colour section of Appearance > Settings (using the Custom setting), the background changes to white instead.

The selector in the Appearance settings still shows the colour as #000000 (or whatever other colour I pick - I tried a few different variations), but if I open up the altered colors.css file in the Files directory, the background-color attribute of html and body is set to #ffffff instead. I can edit it manually, and that works, but if I then make any other change to the colours in the Appearance settings, it resets to white again.

No other colour selector does this (that I've found yet) - it's just specifically Page background. Everything else works fine.

Has anyone else run into this, or does anyone have any idea what might be causing it?

Comments

spidersilk’s picture

Title: Setting "Page background" to #000000 in Appearance > Settings changes it to #ffffff instead » Custom page background colour in Appearance > Settings always reverts to #ffffff
sammy-node’s picture

I've got this problem too.

Except all the CSS associated with this color change seems to disappear, not just the background.

Jeff Burnz’s picture

Then you don't have this problem, you have a different problem, probably a permissions issue or not enough memory to generate the stylesheets.

sammy-node’s picture

Thanks Jeff - can you give me some pointers as to what the permissions issues may be, please? I'm ok enough to follow guidance of which folders need attention but not good enough to work it out from scratch.

Cheers

Jeff Burnz’s picture

Just Google it, this problem/question has been asked/answered approximately 64k times before in Drupal.

Jeff Burnz’s picture

Issue summary: View changes

Updated the post after more experimentation, to add that it's not just setting it to black that does this. It does it with any colour of page background.