Forums

How to remove "Gallery" spacing above/below (8 posts)

  1. htsupport
    Member
    Posted 3 years ago #


    I am having trouble reducing the spacing of the "Gallery" especially when theres more than the one row.

    I would appreciate all information/help.

    Thank you so much.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 3 years ago #

    A link to your site would help.

  3. htsupport
    Member
    Posted 3 years ago #

  4. htsupport
    Member
    Posted 3 years ago #

    anyone?

  5. esmi
    Theme Diva & Forum Moderator
    Posted 3 years ago #

    Is this the gallery at the bottom of the post? I've checked it out in Firefox 3 and IE7 and it looks OK to me. What is it that you're not happy about? Do you want more spacing between the grey bordered images?

  6. htsupport
    Member
    Posted 3 years ago #

    is there anyway, i can cut down the spacing make it smaller so theres not much spacing? for the gallery.

    Yes the gallery down the bottom.

  7. htsupport
    Member
    Posted 3 years ago #

    would appreciate all the help i can get plzzzzzz!

  8. AndyGCook
    Member
    Posted 2 years ago #

    I know this is really old. I figured this out though...

    What you want to do is wrap your gallery in a <div> in your HTML editor:

    <div id="picture-gallery">
    [gallery link="file" columns="5" icontag="div" id="44" itemtag="div"]
    </div>

    Then in your CSS file you would do something like...

    #picture-gallery a:link
    {
    	padding: 25px 0px;
    }

    Doing the above CSS mod will make your top/bottom padding 25px more and leave your right/left padding at 0.

    Hope this helps! Here's where I figured out the answer:

    http://codex.wordpress.org/Gallery_Shortcode

Topic Closed

This topic has been closed to new replies.

About this Topic