• Hello World,

    I’m designing a web page for the first time using the WordPress theme, Sela. I’m having difficulty altering the sites background. The customermizer allows me to change the background image, which is fine for now. And I was able to add this line of code displayed below to my main stylesheet, changing a portion of the content’s background.

    .content-area {
    background-color: #E2D6B3;
    }

    However, it does not fully change the entire background I want to change from white to the color I selected. I’ve scanned the stylesheet enough times to give me a permanent migraine in hopes of finding where to change the value. Can this be done? And if so, what am I not doing correctly?

    Here is the site address: http://pazzo-restaurant.com/

    Thanks for reading and your time.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello @keidrews

    First of all, you should use a child theme or a custom css plugin for you customization, because if you don’t you will lose all your customization on the next update of the theme.

    So to change the main backgroud color use this :

    .content-wrapper {
    	background: #E2D6B3;
    }

    SYA 🙂

    Thread Starter keidrews

    (@keidrews)

    Hey @lebcit
    Thanks for the input but that line changed everything back to all white. 🙁

    Hello @keidrews

    Please try this

    .content-wrapper {
    	background: #E2D6B3 !important;
    }

    SYA 🙂

    Hi @keidrews,

    I took a look over your site and can see that you haven’t got this working just yet.

    The original custom CSS provided by @lebcit should work correctly:

    .content-wrapper {
        background-color: #E2D6B3;
    }

    As @lebcit noted: Please do not edit your theme’s files directly. Any changes you make there will be lost when it comes time to update. It’s important to be able to update your theme for bug fixes and security updates.

    To add custom CSS: Firstly set up a child theme or activate a custom CSS plugin. If you have Jetpack installed then you can activate its custom CSS module.

    Can you try adding the above snippet using the methods described? Reply back here if the CSS still doesn’t work and we can take a deeper look.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘How do I change the white background?’ is closed to new replies.