prettyPhoto max width and height on pop up too big

502 views Asked by At

im using the latest version from No Margin for Errors and setting allow_resize to true but still it's waay to big.. how do i set the max width/height for it?

i've already set view port to

<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" />

enter image description here

enter image description here

1

There are 1 answers

0
user3589212 On BEST ANSWER

img {max-width:100% !important;}

Place this line to stylesheet and check!