After upgrading to WordPress 3.3, some users have reported issues with their custom background options in WordPress. In the past, the
Previously, when a custom background was added, the styling was applied to the “body” tag. However, with WordPress 3.3, a new class called “custom-background” is added and the CSS is applied to that instead. For example:
As the styling is applied to this specific class, the custom-background class needs to be present in the body tag.
To fix this issue, open header.php and locate the
tag. Change it to:>
Alternatively, if you do not want to have extra classes, you can change the body tag to:
However, this is not recommended.
In conclusion, if you are experiencing issues with your custom background options in WordPress after upgrading to WordPress 3.3, make sure to use the