• Resolved jeffwenberg

    (@jeffwenberg)


    I’ve been trying to get my pictures to align horizontally but I can’t. They always end up either above or below each other. Check it out here. I know many posts said to make sure the alignment was either right or left for all of them. I did that, but it didn’t make a difference. I’m not sure if that means something is programed into the theme causing that to lock them in a verticle display. I don’t really know how to read code, so I was hoping I could find someone who might be able to advise me. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • your theme seems to be missing the styles for image alignment;

    for instance:

    img.aligncenter, .wp-caption.aligncenter  {
    	display: block;
    	margin-left: auto;
    	margin-right: auto;
    	}
    
    img.alignright, .wp-caption.alignright {
    	float: right;
            margin: 0 0 5px 10px;
    	}
    
    img.alignleft, .wp-caption.alignleft {
    	float: left;
    	margin: 0 10px 5px 0;
    	}
    .foot { clear: both; }

    try and add these to style.css of your theme, and see what happens

    Thread Starter jeffwenberg

    (@jeffwenberg)

    Thank you! This did the trick. I really appreciate your help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can't get pictures to align in a row. Looked on forum already. Please help’ is closed to new replies.