• I am having some problems being able to make the images in my posts come up as a grid of images rather than a vertical line of them stacked on top of each other.

    Our website is; http://www.trinityset.co.uk and if you go to ‘News‘ page then click on a post then you can see that the images are coming up vertically.

    These images are taken from my gallery images (‘Projects’) so i am copy and pasting the link in the top right in the gallery and pasting it into the bottom of the post. Is there any way to get the images come up as a grid (e.g 2/3 images next to each other..)

    Hope I have given enough information for someone to be able to help. We’ve been having problems with this for a while and none of us can figure it out.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Your issue appears to be <p> tags being wrapped around some elements. So WordPress is treating a HTML comment on it’s own line, and therefore wrapping it in a paragraph.

    So a line in your post is listed like this:-

    <p><!-- .gllr_image_block --></p>

    Which puts blank paragraphs everywhere.

    This is done using a function called wpautop. I from reading that page, it appears you can disable it on a post-by-post basis by using this plugin – https://wordpress.org/plugins/wpautop-control/

    You may have some success installing that and disabling in on any post that has a gallery.

    Thread Starter sbicknell

    (@sbicknell)

    Thanks for replying!

    I have downloaded the plugin and does not seem to have changed anything.

    The gallery in the ‘text’ form looks like this under my post [print_gllr id=1909]

    possibly ask in the forum of what plugin you have used for the shortcoe:

    at http://wordpress.org/support/plugin/gallery-plugin#postform

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Gallery images showing as vertical in posts’ is closed to new replies.