CSS to change body color

  • Unknown's avatar

    What is the CSS code to change body color? Using Able theme. Want to change body color from white to gray.

    Muchas Gracias

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

  • Hi there,

    Here’s a CSS snippet you can use. The first color is for the body’s background color, the second is for the thin border at the bottom, by the footer.

    #page-liner {
        background-color: <COLOR>;
        border-bottom-color: <COLOR>;
    }

    Be sure to replace by the appropriate color code, which may be in hexadecimal form (e.g. “#aabbaa”), in RGB form (e.g. “rgb(170, 187, 170)”), or a color keyword (e.g. “grey”).

    You may also want to change the color for the bottom border of your articles to match your new background:

    .hentry {
        border-bottom-color: <COLOR>;
    }
  • Unknown's avatar

    Splendid!

    Thanks for quick reply!

  • The topic ‘CSS to change body color’ is closed to new replies.