• Resolved erikbeam

    (@erikbeam)


    This question is probably just a CSS issue. My main page looks like I want. Grey page background, green sidebar, and white background for the post area (I think it’s controlled by “.sleeve_main”).

    However, when I setup a new page I lose the white background over the post area and there’s no reference to “.sleeve_main” if I view source.

    How can I get my pages to have the white background in the post area?

    I’ve tried a few things to change the page.php template, but I cannot get it to work.

    Site is here.

    Edit: The page links are at the top (About, Feedback, etc.)

Viewing 4 replies - 1 through 4 (of 4 total)
  • your page.php is definitely different than your single.php, for one it’s missing the sleeve_main class.

    What you could do is to copy the single.php page to the page.php, and strip off the commenting part.

    Another possibility is that you use a custom templates for your pages (you can check this if you edit a page, and look on the right site of the editing window, near ‘attributes’ – you are only able to change to custom templates when you actually have one).

    Peter

    Thread Starter erikbeam

    (@erikbeam)

    Alright. I tried to replace the page.php code with single.php, but it appears that nothing has happened. I went back and reloaded page.php from the original install as well, in case I screwed something up along the way. Still nothing.

    I figured I could do a custom page, but I’m trying to avoid it since I want my “custom” page to be the same as the main page.

    Thanks for the help though. I’ll keep plugging away.

    I figured I could do a custom page, but I’m trying to avoid it since I want my “custom” page to be the same as the main page.

    What I meant was: maybe you are using one, but don’t know about it.

    Peter

    Thread Starter erikbeam

    (@erikbeam)

    Alright. I fixed it. For some reason the page.php file was broken. I just had to find the right place to put the <div class=”sleeve_main”> tag.

    Thanks. It wasn’t until I started to make a custom template that I figured out how to just modify the existing one to do what I wanted.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘P2 — Format of pages doesn’t match main page’ is closed to new replies.