Forums

[resolved] Position paragraphs next to each other (3 posts)

  1. DJswade
    Member
    Posted 1 year ago #

    Hello,

    I am setting up my WP site to look more like a regular website. On one of my pages I have 2 paragraphs of text I want to position side by side at the same level. Essentially I want both paragraphs to have the same Y axis but have different X axis. I am not sure what to write in the style sheet in order achieve the right results.

    I am new to WordPress and haven't had trouble figuring things out/looking them up, but this is giving me a little trouble. I know you can wrap text around images but I haven't been able to find anything on this particular issue.

    If anyone can give me some guidance or link to a post that handles this matter I'd greatly appreciate it.

  2. vtxyzzy
    Member
    Posted 1 year ago #

    I think this is what you need to do.

    • Use the HTML editor mode in WP. Don't switch to the Visual mode because it will mess up your format.
    • Enclose each paragraph in div tags. Give both divs the same unique class.
    • Use CSS to give the divs a width of 50% and float them left.
    • You will probably also need a div after the paragraphs to clear the float.

    Hope I haven't left anything out.

  3. DJswade
    Member
    Posted 1 year ago #

    I followed your instructions and it worked! Thank you so very much.

Topic Closed

This topic has been closed to new replies.

About this Topic