WordPress.org

Forums

background for content i twenty ten (5 posts)

  1. Loke
    Member
    Posted 4 years ago #

    Hi,
    I´m writing a comedy blog. http://coldnation.org/

    I´m using a modified version of twenty ten and now I would like to change the background color of the content-box to a lightgrey (to lessen the burden on the wievers eyes). I´ve got the code for the color, it´s e6e6e6, but I don´t know how to make the change. I suppose that I´m supposed to write something in the css.stylesheet but... what do I write and where do I write it?

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    Don't edit the Twenty Ten theme! Your changes will be over-written the next time you upgrade WordPress or the theme. For this reason, it is recommended that you consider creating a child theme for your customisations.

  3. 123milliseconds
    Member
    Posted 4 years ago #

    If you install Firefox Firebug then when you visit your website you can immediately see the css styling plus line numbers for that content-box

  4. Loke
    Member
    Posted 4 years ago #

    Esmi: Thanks for the useful tip and link! I´ve made certain modifications in the header.html of twenty ten, do I have to save the modified file in the child theme as well?

    123milliseconds: Thank you,I will try that.

  5. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    do I have to save the modified file in the child theme as well?

    Yes.

    ANY changes made to twentyten will be lost. You cannot make a single change to twentyten.

    Best bet is to restore header.php in twentyten back to original, and make a child theme with your changes

    http://go.rvoodoo.com/WPchild for a little more info if it helps

Topic Closed

This topic has been closed to new replies.

About this Topic