Home Forums Weaver Xtreme Theme Captions make too much white space

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #17579
    canoot65
    Participant

    When using caption text for an image, it creates more white space above and below the image than if there is no caption (and more white space than I like).
    http://www.nordoy.net/kulturaktivitetar/

    Is there a way to avoid this?

    #21163
    scrambler
    Moderator

    The default margins on captions are: .7em 1em 1em 0  (top-right-bottom-left)

    To change them, add the rule below in Main options > FOnts & Custom > Custom CSS Rule box with the value you want

    .wp-caption {margin:0 1em 0 0 !important;}

    The additional space below the caption can be removed with

    .wp-caption-text {padding-bottom:0 !important;}

    #21164
    canoot65
    Participant

    Thank you, Scrambler!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.