Support » Plugin: Tablet Photography » Colorbox width and height

  • Philipp


    Thank you for this very simple and good Plugin.

    Just a note for future releases as I had to struggle with the correct width and height of the colorbox. Please change the following lines in tablet-responsive.1.1.js as this:

    //jQuery.colorbox.settings.width = "92%";
    //jQuery.colorbox.settings.height = "98%";
    jQuery.colorbox.settings.maxHeight = "90%";
    jQuery.colorbox.settings.maxWidth = "90%";

    So the colorbox is still responsive but resizes to the correct height and weight. Before it just resized the weight so there was always an ugly border.

    Thanks and good job!


  • The topic ‘Colorbox width and height’ is closed to new replies.