• Hi,

    I know it sounds very basic but even following other forum answers it doesn’t seem to work. I just need to change the background colour my page from white to black, and then my font to white. I have this in my css sheet for the page colour and its not working:

    body {
    background-color: #000000;
    }

    Any help would be appreciated. URL: guitarswindon.com

Viewing 6 replies - 1 through 6 (of 6 total)
  • ..just need to change the background colour my page from white to black, and then my font to white.

    Hi there,

    The css for the body doesn’t appear to work because .content-area is set to be white in the theme’s css.

    Would you like to change the background colour for all pages and posts?

    Thread Starter adamsurridge

    (@adamsurridge)

    Ah, ok, my content area is set to white! Yes, I would like to set the background of all posts and pages to black.

    Please try adding the css below to your site in Appearance > Customize > Additional CSS:

    .home .content-area,
    .blog .content-area,
    .single-format-image.has-post-thumbnail .content-area,
    .posts .hentry,
    .posts .entry-inner,
    .is-singular:not(.home) .site-inner {
      background: #000;
      color: #fff;
    }
    
    .entry-title, .posts .entry-title a, h1, h2, h3, h4, h5, h6 {
      color: #fff;
    }
    Thread Starter adamsurridge

    (@adamsurridge)

    Amazing, this has worked perfectly! Thank you, Gary!

    You’re welcome ??

    Thread Starter adamsurridge

    (@adamsurridge)

    Hey Gary, I have a small issue as a result of what we’ve done, in IOS on an iPhone there is a white line under the main image. it doesn’t appear on desktop or an iPad, just the phone.

    Could anyone tell me what part of the content this relates to and can I change it with a little bit of CSS?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘page background colour’ is closed to new replies.