I have installed the Pretty Photo jQuery plugin but I need to set a min and max height and width of the lightbox and can't seem to get it working.
I've tried changing the prettyPhoto.css
file and no luck, I tried looking at the prettyPhoto.js
file and can't work out how the dimensions are actually set!?
Anyone have any idea how to do this?
Look for div.pp_pic_holder in PrettyPhoto.css file
/css/prettyPhoto.css
and apply required width with!important
Ex.width: 825px !important;
Here is a possible workaround for your problem. This is what helped me the most.
fixed window-size in prettyphoto