• So, I’m using a theme called Edge and I have a background image set as the background within the theme. I’m starting a blog for my posts and I just want an all-white background instead of that image but I don’t want to mess with my theme settings and mess up the rest of my pages.

    Any help with how to do this would be great. I tried a few different things but I am not sure exactly what the CSS code would be and where it should go – If it would be a plug-in I have to download, or a code input in the theme somehow, or within WordPress. I did put custom code in my theme settings that changed the text color, but I didn’t know the proper code (since I copied and pasted that coding from a forum discussion) for what I needed (background white for all posts, not pages).

    It seems like it should be simple, but with that said I can’t figure it out. :O

    Any help is greatly appreciated!

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter rebeccah0713

    (@rebeccah0713)

    Hi @corrinarusso

    The problem is that messes up my jonathans.com website. I am only looking to have a clean white solid background for my blog posts.

    You need to change your main blog category of “Uncategorized” to something descriptive – but if Google already indexed it with the 3 posts tied to it then you will need to do redirects.

    It looks like the main page is using a class of .wrapper and an id of #archive-wrapper – I put the dot and hashtag there for CSS. The id on single posts is #single-wrapper. I assume somewhere in the theme you set the website background to an image. I’m not positive, but you will need a child theme and in the child theme’s stylesheet you may need something like

    .wrapper {
    background-image: none;
    background-color: #fff;
    }

    If that doesn’t work try #archive-wrapper and a separate css block for #single-wrapper. Note that if it works that will affect all archive pages: search results, categories, tags, date, author.

    Customizer –> Additional CSS :

    article {
        display: block;
        background-color: #fff;
    }

    The article tag is for your blog page content and aside would be for the sidebar. Both should be in a main tag assuming html5 is being used for the structure of the pages. Whatever you just did – undo it because your site is messed up now. I think you are in over your head. Undo what you did and lose the background image for the entire site because the site seems really slow. Then figure out how yo add a background image for just the pages.

    Thread Starter rebeccah0713

    (@rebeccah0713)

    @corrinarusso Ah, thank you but that applied to all pages as well.

    @kernix yes, I am not a developer by any means but I did build the site and I appreciate your initial response but it went over my head! I removed the coding. I don’t want to remove the background because only my blog isn’t centered around it at the moment and I don’t have the time to delegate to that project. I will just have to find a way forward for the posts. I am very surprised there is not an option in WordPress builder for that…

    Your main tag is centered but your main tag contains your article tag for the post content and the aside tag for your sidebar. It’s your theme that allows the background image. You should find the forum for your theme to see if they know how to apply the B image to ONLY pages.

    Customizer –> Additional CSS :
    .post { background-color: white; padding: 8px; }

    View post on imgur.com

    Thread Starter rebeccah0713

    (@rebeccah0713)

    @corrinarusso That worked! (.post { background-color: white; padding: 8px; })
    I can’t thank you enough!

    @kernix Thank you, I did but it seems to be an uncommon theme. I first went to the edge forum but what Corrin provided worked. Also, assuming you brought tags to my attention as a separate issue, I will look into that next along with fixing uncategorized posts. I appreciate all of your help!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Editing background of all posts to plain white without changing pages background’ is closed to new replies.