Thread Starter
royedw
(@royedw)
Well, I’ve spent the last 3 hours looking for a solution on how to remove the white borders on my singlepic photos. I’ve edited the theme style sheet,(2011 child)the plugin style sheet and used Custom css, editing border & padding to 0 px and still cannot remove the borders!
I’m using WP 4.4. The css example I gave above is but one I’ve tried in the forum. None I’ve copied do the job. This is my 1st website so I’m not up to speed on coding, and it takes a bit for me to figure out how to go where people suggest. Any advice is certainly appreciated… the site is http://www.ststephensforest.org. Thanks again!
Assuming you meant the pictures in the sidebar, the reason the code from your first post doesn’t work is because the pictures are in a widget, and not in a gallery.
You should use this css code:
.ngg-widget img {
border: none;
}
The best place to add it is to select your stylesheet in the built-in editor, make the changes and press Save (if you have not edited the file yet). NextCellent will automatically make a copy to protect the file against plugin updates. If you have edited the file already, make sure to edit your copy, and not the default one. You can see this by the (ngg_styles) between brackets in the dropdown.
Should it not work, feel free to ask for assistance again!
Thread Starter
royedw
(@royedw)
Thanks for that info! I was really looking for removing the borders on my single photos, such as the one on the Sermons page which I post from my Nextexcellent (NextGen)galleries. I will look at this as well,.. but its Friday night,.. O’beer thirty! 🙂
🙂
My apologies, it seems I’ve missed a part of your post. I’ll have another look at the problem tomorrow.
You will have to point me to specific URL, since I can’t seem to find a page with a single pic with a white border.
Thread Starter
royedw
(@royedw)
This CSS should do the trick:
.ngg-singlepic {
background-color: transparent !important;
}
Thread Starter
royedw
(@royedw)
I love it when a plan comes together! Thank you!!