WordPress.org

Ready to get started?Download WordPress

Forums

Spun
[resolved] Margin bottom in gallery (7 posts)

  1. Lieneke Uittenboogaard
    Member
    Posted 4 months ago #

    When I add a gallery to my Spun-themed blog posts, there is a margin between each thumbnail. I have used WordPress Canvas Gallery plugin to create the gallery. When I use other themes the margins are similar on all sides so it seems to be specific to your theme. I have added "margin:0" to every img/gallery class I could possibly think of but to no avail. Can you help? See an example of a gallery @ http://www.lienekefotografie.nl/zakelijk/luxe-student-appartementen-groot-in-vastgoed/

  2. Andrew
    Forum Moderator
    Posted 4 months ago #

    Can you clarify what the issue is?

  3. Lieneke Uittenboogaard
    Member
    Posted 4 months ago #

    I have added two pictures to the gallery to better explain my issue. The red arrow indicates the gap between the images that I would like to get rid of. Thanks for your time!

  4. Andrew
    Forum Moderator
    Posted 4 months ago #

    The right margin is coming from the gallery plugin btw

  5. Andrew
    Forum Moderator
    Posted 4 months ago #

    Install this Custom CSS Manager plugin http://wordpress.org/plugins/custom-css-manager-plugin

    Then use its "CSS Code" section of the dashboard to hold your CSS modifications:

    .wc-gallery .gallery-item .gallery-icon,
    .wc-gallery .gallery-item .gallery-caption,
    .site-content .gallery .gallery-item {
     margin: 0;
    }
  6. Andrew
    Forum Moderator
    Posted 4 months ago #

    If that doesn't solve your bottom margin then it's an issue with your plugin.

  7. Lieneke Uittenboogaard
    Member
    Posted 4 months ago #

    Thank a million! With the addition of
    .site-content .gallery .gallery-item {margin: 3px 0;}
    to the custom CSS file, my issue is fixed!

Reply

You must log in to post.

About this Theme

About this Topic