• This is probably a really dumb question, but I can’t figure it out. I am trying to place two images side by side in a new blog post I am working on. They will go side by side if I choose a left alignment for the first one and a center alignment for the second one, but they do not line up properly horizontally, and then the text and image below them look funny. I was thinking that my best option would be to just make the two images one in Photoshop and then place it center aligned, but there has to be a way to do this through WP without having to go to Photoshop. I am using Atahualpa 3.4.6 if that helps.

    Thank you in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You need to use the editor in html mode and enclose the two images in a div.

    Beware, though, because switching the editor back and forth between visual and html modes can really mess up your layout. Best to stay in html mode once you use it.

    Hi,
    It’s not a dumb question. But it’s not super simple, necessarily. In the many WP blogs I have set up, there are occasionally times I want images to go that way, side by side.

    Like many things in WordPress, if you have some geek stills, you can do it. I do it with CSS – the editor is always limited. Therefore, you can try what I’m suggesting, but if you have CSS skills, you may get it much more precise.

    I use Atahualpa a lot. In a regular theme, to changes styles one would go into style.css via Appearance… Editor. In Atahualpa you can try this: Under Appearance, click Atahualpa theme options.

    Find and click Style Images. Under that, look at Images in Posts, and add the following line:

    float: left;

    Save, and then take a look at your pictures. If they’re not wider than their container, they should be side by side. This could affect text placement, too, so if it messes the whole thing up, take the line back out. As I said, other elements may need styling, so the one-liner may or may not work.

    Good luck, Dave

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘using images in posts’ is closed to new replies.