WordPress.org

Forums

Tablet Photography
Colorbox width and height (1 post)

  1. Philipp
    Member
    Posted 1 year ago #

    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!

    Philipp

    http://wordpress.org/plugins/tablet-photography/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Tablet Photography
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.