Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Having trouble getting around the issue where my client wants all of the images for each post to be on one line. This can be done in the editor, but they are not very tech savvy -- just wants to be able to type a blurb, and then add a series of photos, and have them all sit on a single line.

Is there a wordpress php file or a hook/override I can use to make it so all the

tags containing images float left and add a clear:both at the end of this?

I noticed that there's selectable format's for the post -- would it be here that I would do this?

Also -- I saw a doc showing how the format works and it looks like it just changes the structure of the title & content. How can I edit the structure of the actual post content since that's where the images exist?

share|improve this question

1 Answer 1

Just click Gallery--->"insert gallery" .

To change styles you edit the CSS file. If the theme is coded correctly post images will have a unique CSS class.

share|improve this answer
    
Where is this 'gallery' that you speak of? –  Atticus Jul 26 '11 at 20:32
    
When you click "add image" there is a gallery tab. Or you can use the shortcode [gallery] –  Wyck Jul 26 '11 at 23:53
    
Ohh I see, yeah I understand adding images, but it seems that when it's rendered on the page, each image has a wrapping <p> tag, and these <p> tags keep the images from aligning in a line. Is there a default way I can have images align to the left without having my client click Align: Left each time? –  Atticus Jul 27 '11 at 23:31

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.