Reduce gap between columnised images and text

Hi there,

I have a couple of images down my page ( http://www.eurasianwhispers.com/dungan-mosque-karakol/ ) that have been columnised. The problem is that I can’t seem to get the text underneath the images to sit directly under them - there is a considerable gap.

I was originally told to remove the spacing in my shortcodes and although this reduced the gap quite a bit, I want to remove all of the space between the images and their text and I can’t seem to do this.

Here are the updated shortcodes:

a)

[x_image type=“none” float=“none” src=“http://www.eurasianwhispers.com/wp-content/uploads/2017/06/Dungan-Girls-National-Dress.jpg” alt=“Dungan girls in national dress at a wedding” link=“true” info=“none” info_place=“top” info_trigger=“hover” class=“lightbox”][lightbox selector=".lightbox"]Dungan girls in traditional dress at a wedding in Shor-Tyube, Kazakhstan

b)

[x_image type=“none” float=“none” src=“http://www.eurasianwhispers.com/wp-content/uploads/2017/06/Engraving-of-Dungan-Soldiers.jpg” alt=“Engraving of Dungan riflemen” link=“true” info=“none” info_place=“top” info_trigger=“hover” class=“lightbox”][lightbox selector=".lightbox"]Engraving of a Dungan riflemen at a military camp

Do you know what I need to do to achieve this?

Thanks,
EW

Hi There,

Thank you for writing in, Images has a default bottom margin so you need to get rid of that in order for the text to get closer to the image. Please add a CLASS mbn to your image shortcode.

e.g.
[x_image type="none" float="none" src="http://www.eurasianwhispers.com/wp-content/uploads/2017/06/Dungan-Girls-National-Dress.jpg" alt="Dungan girls in national dress at a wedding" link="true" info="none" info_place="top" info_trigger="hover" class="lightbox mbn"][lightbox selector=".lightbox"]Dungan girls in traditional dress at a wedding in Shor-Tyube, Kazakhstan

mbn means margin bottom no. You can see all the utility classes from here.

Hope it helps,
Cheers!

thank you, it worked perfectly!

You are most welcome. :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.