WordPress.org

Forums

Aligning post text with photographs (6 posts)

  1. JuliaMueller
    Member
    Posted 2 years ago #

    Hi there,

    Right now the text in each of my posts (http://www.theroastedroot.com) extends beyond the alignment of my photographs (which are set at 600 px). I would like to make my text 600 px wide so that it aligns with my photographs (the same with my recipe plugin). Any ideas?

    Thanks!

    Julia

  2. Emphacy
    Member
    Posted 2 years ago #

    Hi Julia, I took a look at the HTML for your theme and your text only extends to 600px, since the container both your images and the text is in is only 600px wide.

    It's your images which are significantly smaller than the text. Some of them are as little as 200px.

    Doing this would be tricky since all your photo's have different widths.
    Either I'm confused by your question or you're very confused!

  3. JuliaMueller
    Member
    Posted 2 years ago #

    It probably is me who is confused but what I'm ultimately trying to get at is I would like the text to align with the edge of my photographs on the right side.

    Thanks,

    Julia

  4. JuliaMueller
    Member
    Posted 2 years ago #

    I just realized I sent you the wrong link. My site URL is very similar to the one I sent you. Here is my site: http://www.theroastedroot.net/. so sorry for all of the confusion!! Let me know about the alignment issue when you have a chance :)

    Julia

  5. Andrew
    Forum moderator
    Posted 2 years ago #

    CSS queries this specific expand beyond the scope of WordPress forums and should be asked on more relevant forums, however it seems you just need to add .post-content p{ width: 600px; }.

  6. Emphacy
    Member
    Posted 2 years ago #

    I see you've managed to get it working fine.
    Yep, that new link makes alot more sense! :3

Topic Closed

This topic has been closed to new replies.

About this Topic