WordPress.org

Forums

WP jQuery Lightbox
How can i remove the rel="lightbox" attribute for mobile devices? (2 posts)

  1. guddu1315
    Inactive
    Posted 1 year ago #

    How can i remove the rel="lightbox" attribute for mobile devices?

    When i see the images in mobile devices such as 320px, 480px width...the images having lightbox attribute are too large...i want to disable rel attribute for mobile devices....

    how can i do that??
    thank u

    http://wordpress.org/plugins/wp-jquery-lightbox/

  2. haizdesign
    Member
    Posted 1 year ago #

    I've noticed problems on sites too when viewed on iOS Safari. The issue is when this is in the header.php <head>:
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0," />
    It makes the lightbox images too big. This code is advised in the majority of responsive design tutorials, including Ethan Marcotte's Responsive Web Design, as a resolution-agnostic approach.
    Can anyone advise how then to fix the issue with this plugin?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP jQuery Lightbox
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic