Hide White Gallery Border

Homepage Forums Free Support Forum Blackoot Lite Blackoot Lite Support Hide White Gallery Border

Hide White Gallery Border
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #24952
    Reply to: Blackoot Lite Support
    myob
    Participant

    Hello,
    Thanks for your previous assistance.

    Is it possible to remove the white border around the gallery images and can I choose where I want to disable it and where not to.

    Please be aware my site has adult content on it but there is no nudity on the page I’ve given a link to.

    Many thanks

    #24957
    Reply to: Hide White Gallery Border
    iceable
    Keymaster
    Support
    Happy with my help?
    Buy me a beer!

    Hi,

    You can do this with a little bit of custom css code. To hide the border from every gallery, add this to Appearance > Customize > Additional CSS:

    .gallery-item img {
        border: none !important;
        padding: 0;
    }

    If you only wanted to disable it on one specific post, you could use the post ID. The post you linked to has the id 55, so the code would be:

    .postid-55 .gallery-item img {
        border: none !important;
        padding: 0;
    }

    Alternatively, you could also use a third party plugin to manage your galleries instead of the WordPress default one. This would give you much more options and control. https://wordpress.org/plugins/nextgen-gallery/ is one of the most popular (and free) ones.

    #24970
    Reply to: Hide White Gallery Border
    myob
    Participant
    This reply has been marked as private.
    #24972
    Reply to: Hide White Gallery Border
    iceable
    Keymaster
    Support
    Happy with my help?
    Buy me a beer!
    This reply has been marked as private.
    #24973
    Reply to: Hide White Gallery Border
    myob
    Participant
    This reply has been marked as private.
    #24974
    Reply to: Hide White Gallery Border
    myob
    Participant
    This reply has been marked as private.
    #24977
    Reply to: Hide White Gallery Border
    iceable
    Keymaster
    Support
    Happy with my help?
    Buy me a beer!
    This reply has been marked as private.
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.

256 bit SSL. 100% secure transactions and data encryption
PayPal Verified
Secured by PayPal
Secure Credit Card payments powered by Stripe