Home Forums Pure Theme Discussion & Support Space below gallery

This topic is: resolved

Tagged: , ,

This topic contains 10 replies, has 2 voices, and was last updated by  Nick Truscott 4 years, 8 months ago.

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #2818

    Nick Truscott
    Participant
    Post count: 67

    I don’t know if this is theme related or WP related.

    The default spacing below an inserted WP gallery is too much for me and I need to reduce it (http://dev.frrme.com/what-we-do/st-georges-church-baghdad/life-at-st-georges/).

    I have tried to find the CSS to change but with no luck. Can anyone help, please?

    Thanks.
    Nick

    #2821

    themeweaver
    Keymaster
    Post count: 730

    It isn’t css, it is hard space created by two line breaks and a p tag. Probably inserted by WordPress gallery insert.

    <p><br style="clear: both"><br>
    			<br style="clear: both;">
    		</p>

    When I insert one I only get one br tag.

    Very little margins are added to the bottom by the theme.

    #2822

    Nick Truscott
    Participant
    Post count: 67

    Thanks Tim – I was certain it wasn’t a theme thing, but I can’t see how to resolve it – it doesnt happen in other places where I have a gallery.

    Anybody have any suggestions? Maybe just put in a new gallery?

    Grrrrr 🙂

    #2828

    themeweaver
    Keymaster
    Post count: 730

    Try this..

    body dl.gallery-item + br { display: none; }

    or
    http://wordpress.org/extend/plugins/cleaner-gallery/

    #2833

    Nick Truscott
    Participant
    Post count: 67

    I put it in my child stylesheet but it didn’t make any difference.

    #2835

    themeweaver
    Keymaster
    Post count: 730

    Actually you also seem to have a p tag which doesn’t appear on other setups.

    Try

    body dl.gallery-item br { display: none; }

    #2879

    Nick Truscott
    Participant
    Post count: 67

    Nope, that didnt work either unfortunately…

    And coincidentally 🙁 I have broken the theme – cant see how – 3 days before international launch event. Jolly frustrating is an understatement and no idea where to start troubleshooting! LOL (manic laughter)

    #2893

    themeweaver
    Keymaster
    Post count: 730

    try

    .gallery br { display: none; }

    #2894

    Nick Truscott
    Participant
    Post count: 67

    That seems to have done it!

    Sorry for that – do you think it is just my setup or something else I may have done in the child theme css?

    Thanks Tim, sincerely.

    Nick

    #2898

    themeweaver
    Keymaster
    Post count: 730

    Not sure, but you definitely have more
    tags than I have on any of my setups. These are line breaks, so introduce more white space, whatever margins you have on other elements. The existence of a cleaner gallery plugin, does suggest that others also struggle with the gallery code that WP generates.

    #2899

    Nick Truscott
    Participant
    Post count: 67

    Thanks Tim. Case closed!

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

You must be logged in to reply to this topic.