draesimpson Feb 3, 2017 · 7:51 am #5884 Hello,
I would like to remove some of the padding below images on my website. There is a lot of unnecessary space between the bottom of images and paragraph text.
Is this possible using custom CSS?
Any help is greatly appreciated as always!
Thanks!
dsimpz
Puro Support Puro Feb 3, 2017 · 7:16 pm #5885 Hi dsimpz
Thanks for posting.
Please, could you send a link to a page showing the problem. You can use the Set a private reply checkbox below the comment form.
draesimpson Feb 3, 2017 · 7:30 pm #5886 This reply has been marked as private.
Puro Support Puro Feb 3, 2017 · 7:34 pm #5887 Thanks, give the following a try in your Custom CSS plugin or Appearance > Customize > Additional CSS.
/* Images */
blockquote.alignleft,
figure.wp-caption.alignleft,
img.alignleft {
margin: 0 1.78571em 1.78571em 0;
}
blockquote.alignright,
figure.wp-caption.alignright,
img.alignright {
margin: 0 0 1.78571em 1.78571em;
}
blockquote.aligncenter,
figure.wp-caption.aligncenter,
img.aligncenter {
margin-bottom: 1.78571em;
}
blockquote.alignnone,
figure.wp-caption.alignnone,
img.alignnone {
margin-bottom: 1.78571em;
}
That’s the default. You can change the em values for px values. Whenever there are four values they represent:
top, right, bottom, left