• I’m running a child theme of the TwentyTwelve theme for my website: https://www.gregorykramerstudio.com

    The modification I made in the child theme was to switch the background color from white (default) to black. In the past week, for some reason, the background color has reverted to white. Several days ago, I contacted my web host, and they were able to switch it back to black, but now it has reverted again to white.

    Can someone tell me why this is happening and how to resolve it?

    [Moderator Note: No bumping, thank you.]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello, Gregk, & welcome to the WordPress support forum. First, let me apologize for the delayed response. As volunteers, sometimes life gets in the way of being able to respond as quickly as we’d like. Also, thank you so much for including your site url. It helps a lot. I’m seeing the following when I look at the source code for your site:
    67 <style type=”text/css” id=”custom-background-css”>
    68 body.custom-background { background-color: #000000; }

    That tells me the color is black. That’s how it’s supposed to be, correct?

    One thing I’m not seeing any indication of is a child theme, i.e., unless my brain is fried (& it could be, it’s late & I’ve been doing a lot of support work today), it really looks like you’re running the straight twentytwelve theme. If updates are being made to that theme, it will overwrite any changes you make, which is why child themes are advised. A child theme should be in a separate folder, & I’m just not seeing that as I look at the site’s source code. So perhaps that’s problematic.

    Thus, please ensure that you are indeed running a twentytwelve child theme, & please let us know how you’re getting on w/this.

    Thread Starter GregoryK

    (@gregoryk)

    I’ve since resolved the issue by activating the parent theme, twentytwelve, and going into the source code to change the color to black. I realize that every time there is an update, I will need to go back in and change the color again, but it’s the only fix I was able to come up with.

    I’ve tried to migrate my locally hosted version of my website from MAMP to my host via Filezilla, but have been unsuccessful. For one thing, it appears that Filezilla won’t allow me to drag the child theme folder over to the host window, and then disconnects. After several attempts, Filezilla sayas that I have made too many log on attempts and locks me out.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘background color keeps resetting’ is closed to new replies.