• Resolved JPGodwin

    (@jpgodwin)


    Hi, here is my blog

    http://www.john-godwin.co.uk/blog

    On the main page, the text is where I want it, but for some reason, if you click on a post, the text jumps out of centre to the right.

    No I’ve added the sidebar, it’s also much lower down the page. I’d like it directly next to the sidebar, in the centre of the grey area if possible.

    Does anyone know a remedy for this?

    Thanks in advance.

Viewing 5 replies - 1 through 5 (of 5 total)
  • In your main page, the structure runs like this:

    <div id="content" class='narrowcolumn'>
        more in this div
    </div>
    <div id="sidebar" >
       more in this div
    </div>
    <div id="footer" >
       more in this div
    </div>

    In your single.php, it looks like this:

    <div id="sidebar" >
       more in this div
    </div>
    <div id="content" class='widecolumn'>
        more in this div
    </div>
    <div id="footer" >
       more in this div
    </div>

    The sidebar div is out of place, and the class of the content div is different. Possibly other things as well.

    Thread Starter JPGodwin

    (@jpgodwin)

    Hi, thanks for the reply. Sorry, I should’ve mentioned I’m a complete novice at this. I don’t really understand what I’m looking at.

    Thread Starter JPGodwin

    (@jpgodwin)

    OK, sleeping seems to have fixed the problem. It was an error in the stylesheet. But now I can’t seem to make the sidebar sit at the side next to the next.

    I’m completely stumped about that, any ideas?

    Thread Starter JPGodwin

    (@jpgodwin)

    Nevermind, fixed it!

    Hey, vtxyzzy, really didn’t have a clue what you were talking about, man, but you pointed me in the right direction and then everything made sense. I chanced “widecolumn” to “narrowcolumn” in single.php and now it works perfectly.

    THanks very much.

    Glad you got it working. Now, please use the dropdown at top right to mark this topic ‘Resolved’.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can't figure out how to align my text in posts’ is closed to new replies.