- This topic has 6 replies, 2 voices, and was last updated 5 days, 13 hours ago by .
- You must be logged in to reply to this topic.
Homepage › Forums › Free Support Forum › Blackoot Lite › Blackoot Lite Support › Hide White Gallery Border
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
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.
IceableThemes has been crafting, supporting and updating Premium WordPress Themes since 2013.
We're here to help you get the best our of your site, not to make a quick sale. Our themes were built to last and we're here to stay in the long run.
Any question? Contact us and we'll be glad to help. Need assistance using one of our themes? Hit our support forums and we'll get your issue sorted in no time.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.