New Landing How can we help? Themeforest Theme Support Dante Lightbox image size issue

Viewing 15 posts - 1 through 15 (of 25 total)
  • Posted in: Dante
  • #274781
    Taffy
    Member
    Post count: 261

    We cannot work out why the lightbox pop-up image is smaller than the original on this page (Help Save the Whale Poster on left of page).

    Please advise.

    http://www.portcentralshopping.com.au/gowings-whale-trust-2/

    Attachments:
    You must be logged in to view attached files.
    #275052
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    I just added this code below in your custom css option.

    /* --------------------------------------------
    	LIGHTBOX IMAGE FIX
    -------------------------------------------- */
    
    .ilightbox-holder div.ilightbox-container {
        width: 100%!important;
        height: 100%!important;
    }

    It seems to be ok now.

    Give it a try.

    -Rui

    #275061
    Taffy
    Member
    Post count: 261

    The CSS fixes the size issue, but the image is off center.

    See screen-shot.

    Attachments:
    You must be logged in to view attached files.
    #275184
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use this custom css code:-

    .ilightbox-holder.metro-white{
    left:30% !important;
    }

    Thanks
    Mohammad

    #275341
    Taffy
    Member
    Post count: 261

    That is off center too.

    I have re-centered it by adding additional CSS

    .ilightbox-holder.metro-white{
    left: 27% !important;
    top: 20% !important;
    }

    BUT, WE HAVE A PROBLEM.

    The entire lightbox pop-up is not responsive.

    Can you please have Ed look at this issue, as we need this functionality returned.

    It did work perfectly when we bought the theme.

    #275355
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    My colleague will check you shortly. He is expert in this.
    Thanks
    Mohammad

    #275358
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Delete previous css and add this:

    .postid-16014 .ilightbox-holder.metro-white {
      left: 50%!important;
      margin-left: -298px;
    }

    – Kyle

    #275359
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Sorry, need’s to be inside a media query:

    @media only screen and (max-width: 481px) { 
    .postid-16014 .ilightbox-holder.metro-white {
      left: 50%!important;
      margin-left: -298px;
    }
    }

    – Kyle

    #275367
    Taffy
    Member
    Post count: 261

    Sorry, this doesn’t work responsively on smartphone.

    The Lightbox code for this entire theme needs to be checked, as it has worked previously.

    #275368
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    I’m still seeing the old CSS instead of my new CSS: http://d.pr/i/16Bj8/3MiD3Bh4

    – Kyle

    #275372
    Taffy
    Member
    Post count: 261

    Take a look now.

    #275373
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    You need to remove this:

    .ilightbox-holder.metro-white{
    left: 27% !important;
    top: 20% !important;
    }

    – Kyle

    #275374
    Taffy
    Member
    Post count: 261

    Done.

    But still no luck on any mobile devices.

    Not centered and not responsive.

    #275376
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Ahh 2 issues:

    1) You’ve ended these rules http://d.pr/i/1fKq3/2uS2PNwF with : instead of ;

    2) On my css, change max-width to min-width

    – Kyle

    #275377
    Taffy
    Member
    Post count: 261

    Hi Kyle,

    I have made the suggested changes, but no luck.

    The lightbox image on this page doesn’t work on any device.

    http://www.portcentralshopping.com.au/gowings-whale-trust-2/

Viewing 15 posts - 1 through 15 (of 25 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register