Support » Fixing WordPress » background color change

  • does anyone know an easy way to change my background color in the middle part of my website from white to a different color? (without going into coding) the plain white background doesn’t look good…

    I am using a Stargazer wordpress theme


Viewing 2 replies - 1 through 2 (of 2 total)
  • Add the following code in theme’s style.min.css file. You can locate it in the path wp-content->Themes->stargazer->style.min.css

    .custom-background #container>.wrap{
    background: #E8E8E8;

    I wouldn’t recommend editing anything in the theme’s style files, and especially not in the style.min.css; it is far safer & future-proof to rather install a child theme.

    You can then paste the relevant CSS code into the child’s style.css or custom.css file to affect the colour change. For this example, I have included the hex code for grey:

    .custom-background #container>.wrap { background:#ccc!important; }

    Hope this helps.

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