WordPress.org

Forums

Create two column WordPress layout? (1 post)

  1. 8-bitDesigner
    Member
    Posted 8 years ago #

    Now, here's a tough one. I'm new to WordPress but pretty good with XHTML/CSS, and I'm trying to create a two column layout. Now the tricky bit is that the person I'm trying to install this for is going to want to edit both column's worth of information on a per-page basis.

    To give you an idea, say she's posting an article. She wants to write the article out in full, and then, along the side, feature a brief blurb about the article, or any related information (like charts, contact info, etc.)

    Not a problem, I think, so I come up with the less than perfect plan to add a section at the bottom of the article, wrapped in a [code] tag, and then, in CSS, set:

    code{
    position:absolute;
    top:0;
    left:0;
    }

    to move this code block into the top left corner. Now, I'm running into a problem whereby WordPress is shuffling around the output so that the [/code] tag is appearing in the wrong place (wrapping around the first element in the code block).

    Any ideas on a way around this, or even a better solution to my hackneyed CSS?

Topic Closed

This topic has been closed to new replies.

About this Topic