portfolio grid – light box larger than image
-
I am using Virtue 2.4.0, free version.
I have deactivated my child theme to verify the issue is not caused by the child theme (the screenshots referenced below are done with just Virtue 2.4.0 activated, not any child theme).I have a portfolio grid page that displays 4 portfolio items. Depending on the size of the browser window, sometimes the light boxes (hope I am using the correct term) are bigger than the images. This is especially noticeable because I am using a non-white background for the content area.
The size of the featured images of the portfolio items are all 648×432 (same ratio as 1200×800, by the way).
The portfolio grid page’s options are set as:
– Columns: Four Column
– Set image height: 179
– Add Lightbox link in the top right of each item: YesMy site is not publicly accessible at this time, but I have made screenshots of the issue.
– https://www.tiikoni.com/tis/view/?id=da80dbd
Here the browser is sized so 3 columns of images/portfolio items are used. The light boxes are nice and same size as the featured images of the portfolio items.– https://www.tiikoni.com/tis/view/?id=2160c5c
Here the browser is sized so 2 columns of images/portfolio items are used. This illustrates the issue – the light boxes wider than the featured images of the portfolio items.I don’t know what causes this issue. On Kadence’s demo page at https://themes.kadencethemes.com/virtue/portfolio/gallery/ the grid appears to be configured to use “square images”, and perhaps that is why the issue doesn’t seem to replicate on that page. However, I would prefer to have the images using the same aspect ratio as the original images (if possible).
Any hints on why this happens?
Can I “fix” this in my child theme?
- The topic ‘portfolio grid – light box larger than image’ is closed to new replies.