Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #14745

    Hi

    How can you custom lightbox color, if you don’t want to use white or black?

    Thx

    #84741

    Hello,

    Do you mean the background of lightbox? You can add this on your custom.css

    div.pp_overlay {
    background: red;
    }

    You change the theme of prettyPhoto by doing this. Open js > avia.js and find this code

    elements.prettyPhoto({ social_tools:'',slideshow: 5000, deeplinking: false, overlay_gallery:false, default_width: ww, default_height: wh });

    Replace it with this code

    elements.prettyPhoto({ social_tools:'',slideshow: 5000, deeplinking: false, overlay_gallery:false, default_width: ww, default_height: wh, "theme": 'light_rounded', });

    You can select within these themes

    /* facebook /light_rounded / dark_rounded / light_square / dark_square */

    Regards,

    Ismael

    #84742

    Hi

    Thank you. I’m actually refering to the white box behing each image. Is it possible to edit this?

    Thx

    #84743

    Hi O5,

    The border is all images so changing the color would require changing the image spirtes in js>prettyPhoto>images>prettyPhoto and then the currently used theme. The easiest change is to use a different them following the instructions from Ismael above which wouldn’t require changing out the image files.

    Regards,

    Devin

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

The topic ‘Lightbox color’ is closed to new replies.