X
348008

Lightbox max width

With Version 4.6, the lightbox displays the image very wide and crops out the source image. The lightbox used to show the full image that I use (600px x 300px). I would like to the lightbox to display the full image regardless of aspect or size when the lightbox opens.

As always, thanks for the help!

Craig

BY: craig@1clickroi.com - Apr 2,2024 AT 7:37AM - 1 year ago
    • craig@1clickroi.com Apr 2,2024 AT 7:38AM - Posted 1 year ago - #348009

      This image shows how the lightbox crops the event image.  I would like the full image to be displayed when the lightbox is opened.

       

    • JOSE LUIS DOMINGUEZ REAL Apr 2,2024 AT 8:07AM - Posted 1 year ago - #348011

      Hello Graig!
      I had the same problem and I solved it with CSS. Try placing this css code in Settings > custom style

      .evocard_main_image {
      height: 200px!important; /* adjust this value to your preferred height */
      padding-top: 50%;  /*50% for your image’s aspect ratio percentage (2:1 600x300px) */
      background-color:transparent;
      background-size: contain;
      background-repeat: no-repeat;
      }

      I hope to be helpful. Regards!

    • Artem Apr 2,2024 AT 9:32AM - Posted 1 year ago - #348051

      Hello,

      Please go to EventON > EventCard > try a different Feature image display style.

You must login to reply to this ticket

HelpDesk

Welcome to EventON helpdesk.

EventON is the #1 Best selling event calendar plugin for WordPress websites in envato marketplace.

Checkout EventON