Background Color
-
Can’t seem to save the background color. Have to use code in edit CSS to change.
-
Hi skooktrout,
thanks for using MH Magazine lite.
You can change the background color in your WordPress dashboard under “Appearance => Customize => Colors”. In case you want to do it with CSS code instead, you could install a plugin like for example: https://ww.wp.xz.cn/plugins/simple-custom-css/
Thanks for the reply. I tried the appearance > Customize> Colors method prior to posting my original question. When doing it that way. The color shows up in the preview but goes back to white when I access my site. I did save it before closing.
The only way I can keep the color is by using the CSS method. On my Linux computer with Chrome it shows background colors. All my Windows computers it white. .
Please clear the browser cache on your Windows computers.
Thanks again, Clearing the Cache was one of the first things I did. No help. I just installed the theme yesterday. Love it. Haven’t altered it in any way. I do have Jetpack installed??
Here is my site. Tell me what color the background is.
Thanks – we’re happy that you like the theme. Please disable all your plugins as it seems there is a conflict on your site because something is messing with the body tag.
The background issue must be related to something on your site as we can’t reproduce it and also no other users are reporting any issues with the background color, and the theme has over 200k downloads. π
Probably when you disable the plugins, it will solve your issue and then you’ll just need to replace the plugin that is causing it.
Thanks for your quick replies. I can live with the CSS method. I tried disabling every plug in. Can’t figure it out… Background image is not working for me either…..
You’re welcome. That’s a very strange issue on your site. The body tag should contain some CSS classes and these are also required to make the background color / image work properly.
That is handled by this code in the file header.php:
<body <?php body_class(); ?>>Anyway, on your site there are no classes for the body tag but only a strange character, as you can see on this screenshot – and that is what is breaking the functionality: http://imgur.com/jawgNiS
You could ask for help in the WordPress Troubleshooting Forum because when you have disabled all plugins, it is very likely that the issue is somehow related to your WordPress installation.
Boy, your support is Superior. Thanks for looking into it. I am trying to see if I can get this issue resolved.
Thanks, happy that you like it! π
Have a nice weekend.
I have someone helping me with my issue. He asked me this question, Can you answer it for me.
Can you tell me the file the theme author used to make the screen shot at http://imgur.com/jawgNiS
line 57?cannot find it in the html of your home page.
THANKS
Can you tell me what file the screenshot was taken from. Or page?
Actually it’s just a screenshot of the body tag of the source code on your site in the browser. If the person who is helping you is familiar with WordPress / web development, he should be able to examine the body tag in the source code of your site.
I know this post is closed, but I had the same issue after the most recent update. My background returned to white.
I have a child theme and when I went back in to change the background color, the child theme showed it was already changed.
Long story short, the parent theme used .wrapper before the update and then used .mh-wrapper after the update. I had to change the background color in the css file to .mh-wrapper in order for it to take effect.
Great theme though. I have enjoyed working with it.Hi clarrise77,
thanks for using MH Magazine lite and we’re happy that you like the theme. π
But please notice that your issue wasn’t the same as what skooktrout was experiencing. The reason why your customization did no longer work was because we renamed the .wrapper CSS class to .mh-wrapper in the latest update and it was correct that you have modified your customization to support this.
What skooktrout experienced was that the option to change the background color wasn’t working as expected because he had some corrupt characters within the body tag of his site. That issue wasn’t caused by the theme or related to it.
Just to clarify to not confuse other users. That’s why it always would be better if you open a new thread, otherwise it might confuse people who are new to WordPress or users who don’t have experience in modifying CSS code. π
The topic ‘Background Color’ is closed to new replies.
