• Hello!

    I’m using a modified “Blix” Theme and want to change the Layout of a Static Page. I want that the Static Page looks exactly like a normal Blog Page. I already managed to include the Sidebar but the Layout is still different (the Text starts not left and it’s dropping the sidebar down …). Is there anyway to change it?

    Here is the link:
    http://www.mixedmoods.de/wordpress

    Click on “<Contact” below in the Sidebar to see the Problem …

    Thanks!

    Johannes

Viewing 3 replies - 1 through 3 (of 3 total)
  • Johannes,

    Your div tags on the contact page are a little out of place, ie: header is within the container on the wonky page etc. You can basically copy the over-all structure of the blog templates and just change what you need to for the ‘static’ pages. For these static page, are you using WordPress pages? Just style the page templates to look like the normal blog templates, using the proper CSS etc.

    Cheers,
    Michael.

    I don’t know this theme, but I had a quick look and have a suggestion for you to try.

    On your blog pages you’ll find:

    <body><div id="container">

    Whereas on the contact page there is:

    <body><div id="container" class="singlecol">

    I suggest to take out the class=”singlecol”, as this may be what’s causing the content column to take too much horizontal space, so that the sidebar doesn’t fit anymore.

    Possible explanation:

    In the css file we have:


    #content {
    float: left;
    width: 485px;
    padding-top: 32px;
    }

    .singlecol #content {
    margin: 0pt 70px;
    float: none;
    width: 550px;
    }

    So #content is supposed to be 485px wide on blog pages, but 550px wide on static pages with the singlecol class, which is too much to fit the sidebar beside it.

    EDIT: You also get some XHTML errors after validation (http://validator.w3.org/). Fixing those may also improve page display.

    Greetings, Sanne

    Thread Starter mixedmoods

    (@mixedmoods)

    Thanks alot Sanne!
    That was the Problem …
    Still the Sidebar isnt on the right position but i guess I will find out why …

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Layout of Static Pages’ is closed to new replies.