• Resolved pattaya_web

    (@pattaya_web)


    This is a really cool plugin and I’m using it extensively on https://photo-journ.com. The only issue is the alignment of captions that exceed the width of the the thumbnail and butt up against the grid boundaries.

    Is there a way to align the caption text please?

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • @pattaya_web: that’s how the default WordPress gallery template looks too, the code in the default template was more or less copy/pasted from WP ??

    The easiest way would be to add something along these lines to your theme’s CSS, or create a custom File Gallery template with these same lines in ‘gallery.css’ file:

    .gallery.columns_3 .gallery-item,
    #content .gallery.columns_3 .gallery-item
    {
    	width: 30% !important;
    	margin-right: 3% !important;
    }

    how you want to style the columns is, of course, all up to you. this code will force a 30% column width, with a 3% right margin.

    here’s the help file section about custom File Gallery templates: https://skyphe.org/wp-content/plugins/file-gallery/help/index.html#your_own_templates

    let me know if you get stuck ??

    Thread Starter pattaya_web

    (@pattaya_web)

    Fantastic. Thanks very much. Perfect solution.

    For the Weaver 2.0 theme based on twenty ten it’s a simple matter of dropping this into the Head section for customised CSS in the Advanced these setting.

    Make everything look neat and tidy now ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: File Gallery] alignment of captions’ is closed to new replies.