White Background for Stay Theme

  • Unknown's avatar

    Hello

    I need the CSS to make the background of my main content area white. My Theme is Stay.

    Many thanks in advance!

    Cheers
    M

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    In the customize area you can adjust the background color of the page to white. Or more specifically when in Admin mode Appearance > Background or in the Customize Menu > Background
    I don’t think you need CSS with this theme?

  • Unknown's avatar

    Hi thelilg

    Thanks for your reply.

    I already tried to change the Background colour but it only changes the horizontal bars on the sides. The rest remains grey.

    I also spoke to live support but they told me to ask here.

    Any idea how CSS Background colour works ?

    Cheers
    M

  • Unknown's avatar

    Yes. I do. You can change any background color if you find it in the code and adding CSS to your theme. I assume you have the upgrade to allow you to add custom CSS?

    In any regard when you are in Firefox or Chrome, you can right click on the background area of your page and choose ‘Inspect Element’ – this will show you the DOM inspector and allow you to find where the page is calling the background-color. If you do this, look for an id (denoted by the # symbol) or a class (denoted by a .) that says something like background-color:#f6f6f6;
    It will be in the right hand side of the DOM when you click on the background of your site.

    a quick search found this:

    #page {
      background: #f6f6f6;
      margin: 0 auto;
      padding: 0 20px;
      width: 1200px;
    }

    So a quick CSS you can try is the following:

    #page {
      background: #fff;
    }

    Try that or edit whatever you find and see what it does. You really can’t go too wrong, cause if you do, just remove your edits from your custom CSS window and save. :) Cheers.

    PS. it does seem a little silly that you can’t change it in the CMS. Oh well.

  • The topic ‘White Background for Stay Theme’ is closed to new replies.