Archived topic
Space between images in sidebar widget
6 replies · Started by Budi on February 1, 2021
Hello,
I put several images in sidebar widget. The space between images is too far. How to change it ?
Thanks.

Hi there,
Can you link us to the page in question so we could check?
You can provide the site details on the private information textfield.
Hi,
I have put the link.
Hi there,
you can use this CSS to reduce the spacing:
/* remove bottom margin */
#text-9 .textwidget p {
margin-bottom: 0;
}
/* reduce height of the Hard Rule */
#text-9 .textwidget hr {
margin-top: 10px;
margin-bottom: 10px;
}
the rest of the spacing comes from any line breaks you have added in your Widget HTML.
I would suggest using a HTML Widget instead of a text widget - if you do this then we would need to adjust the CSS above if its is still required.
thanks, solved.
Glad to hear that