Posted on 29 January, 2013 By One Comment

Spacing for Captions in the WordPress 3.5 Gallery

 

gallery2

On some WordPress sites I have worked on the captions run together when a gallery with captions is inserted into the post. This doesn’t happen on all sites and seems to be a CSS conflict.

This issue, however, can be quickly fixed by adding a small piece of CSS to your style sheet.

 

Go to Appearance > Editor. You should be on the edit screen for the stylesheet, style.css

Add the following and save the file:

.gallery-item .gallery-caption {padding: 1em 2.5em;}

The caption problem should be corrected.

I have not experienced this issue on all sites. For example, the captions are spaced fine on this one. But, if you do run into this problem, this CSS should help.

photo credit: anotherphotograph




Keep Reading:
Posted In : WordPress Tips

Did you enjoy this article? I can assist you with your WordPress or Facebook project. Contact me and I will provide you with an estimate. You can also connect with me on Facebook or follow me on Twitter. If you are looking for Hosting, WordPress Theme, Newsletter or other recommendations, please view my detailed list.




One Response to “Spacing for Captions in the WordPress 3.5 Gallery”

Leave a Comment
You may use: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .

CommentLuv badge

About

Kim Woodbridge is an accomplished Information and Technical Consultant specializing in the entire implementation of a WordPress based website including installation, theme design, upgrades, unique customizations and ongoing site maintenance.

Recent Comments

    • Chris Tusa: NovelSnippet.com is cool. It contains hundreds of books (and seems to be rapidly growing). The books are accompanied by ...
    • Dee: I drop a leave a response when I especially enjoy a post on a site or I have something to contribute to the conversation...
    • Kabsiha: Thanks for your great idea to hide the deactivated comment link in word press this would be the very useful post for who...
    • Pat Alexander: Well now these are really great. Makes it perfect for small sites....
    • Tracy G: I really don't know how to do it, glad you posted it here....

Wordpress Services

  • Installation, upgrades and maintenance
  • Conversion of existing html and css templates
  • Theme and plugin recommendations
  • CSS customizations
  • Troubleshooting and tweaks for unique situations
  • Customization for individual blogging goals and needs
  • Training and advice