If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.

Tagged: ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #21439


    I’ve scoured the forum for help with the Lightbox/PrettyPhoto and I apologize for still having trouble, because there are quite a few help topics already posted.

    I successfully removed the top, left, and right margins by editing the images in the prettyphoto folder, but I am unable to remove the white bottom border. From another thread, I’ve posted the following code into my custom.css

    div.pp_default .pp_top, div.pp_default .pp_bottom, div.pp_default .pp_content_container .pp_left, div.pp_default .pp_content_container .pp_right{
    background: none !important;

    Still no luck — a white border appears below the image. Has anyone had success at removing this white border?

    Many thanks.


    Hi cavanaughb,

    If you can provide a link to your site we can take a look live and help with a css fix.




    Hi Devin,

    That would be great, thank you! A preview is available here: http://www.cathyweis.org/works/repertory/the-sea-around-us/

    Best regards,




    Try this on your custom.css

    div.pp_default div .pp_content {
    background-color: none !important;




    Hi Ismael,

    Thanks for the tip. I updated my custom.css, cleared cache, and reloaded, but I’m still seeing a white background below the image. Would you have any other ideas?





    Add following code into the quick css field (or use css/custom.css):

    div.pp_default div .pp_content{
    background-color: transparent !important;

    Best regards,


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

The topic ‘Lightbox/Prettyphoto margin’ is closed to new replies.