Portfolio project - change images gap and images caption stay in image boundary

hi hello, this is my website :

in ‘Galeri’ menu which i used Portfolio widget, the images i uploaded there
have too much gaps between each other, it would be great if i can resize the gaps or change
images size, but still retain their thumbnail look ( i want it to be in same square look).

another thing, i want to add captions under each image, but when captions are long, they went out of the images edge, can’t i make them stay in image boundary?

glad if you can help.

Hi there,
Thanks for reaching out.
In reference to your question here, could you try out the following CSS code under the Appearance>Customize>Additional CSS section:

.gallery-icon img.attachment-thumbnail.size-thumbnail {
width: 100%;
As for the captions I do not seem to trace any from your galleries. Could you perhaps try adding them.

I look forward to your reply.
Best Regards,

Hello support team, thanks for your fast reply.

Yes that did the trick! Just what i’m looking for.
And for the caption, i guess i’m gonna stick with
naming the images title rather than captions.

i guess that is all.
Thank you again for your work,
you’re one of the best support team ever.

thank you for kind words :slight_smile:

I will close this case now, Feel free to contact us again if you have other questions Thanks!