[Resolved] Eliminating space below images

  • Author
    Posts
  • #5884

    draesimpson
    Participant

    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

    #5885

    Puro Support
    Keymaster

    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.

    #5886

    draesimpson
    Participant
    This reply has been marked as private.
    #5887

    Puro Support
    Keymaster

    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

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

Scroll to top