• Let me first say I know NOTHING, ZERO, NADA about programming, and I am pretty sure you guys have answered this question so many times it’s ridiculous but please I beg you patience.

    I am using the Twenty Eleven thing, I finally managed to learn how to customize the home page,changing background, picture, etc. Now, I created a new page, “parent” page I suppose, and it has exactly the same features as my home page, same picture, background… well, I don’t want it to look the same. I want to have in this new page a different color background and no picture.

    If I go through the dashboard and try to customize it that way the darn thing changes all the pages and if I use the edit page option I can change the picture but I cannot set it to “no picture please” nor change the background color. Please help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • From the Admin GUI I don’t think you can do what you want with Twenty Eleven. Go here Pages#Creating_Your_Own_Page_Templates to learn how to create different templates for different pages.

    Twenty Eleven also adds a class to the body element for every page. On a clean twenty eleven install if you click on ‘sample page’ it will have ‘page-id-2’ as a class for the body:
    <body class="page page-id-2">

    So if you look at the source of the page you want to change, see what class is being outputted to the body tag. Then add to your css the changes you want. E.g.:
    `body.page-id-2 { background: ‘yourcolor’;}

    Be sure that you are using a Child Theme for making any changes to theme files – https://codex.www.ads-software.com/Child_Themes

    If you make changes in the theme files directly, all those changes will be lost when WP is updated – you really don’t want to go there :).

    Thanks WPyogi! I’ve been building my own too long. Totally forgot a really important point.

    Thread Starter annatrx

    (@annatrx)

    Thanks guy, very informative.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Customizing pages hell’ is closed to new replies.