Title: Dynamic Height calculation
Last modified: January 6, 2020

---

# Dynamic Height calculation

 *  Resolved [StephenEquus](https://wordpress.org/support/users/stephenequus/)
 * (@stephenequus)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/dynamic-height-calculation/)
 * I am working on fixing issues across our site, and one of the issues is with 
   the blog section on our home page [https://www.crystalstar.com/](https://www.crystalstar.com/).
   If you scroll down to “Holistic Wellness & Health” section you will see two blog
   images with a lot of space underneath them. Inspecting the elements finds a dynamic
   height that appears to be calculating the height based on the width of the image–
   or – based on a square 1 to 1 ratio. Our blog images are more rectangular and
   are more 2 to 1 ratio.
 * How can I change this? I’m assuming a JavaScript file is doing the calculation.
   What can I do to change/overwrite it?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdynamic-height-calculation%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [livemesh](https://wordpress.org/support/users/livemesh/)
 * (@livemesh)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/dynamic-height-calculation/#post-12300478)
 * The issue is due to lazy load plugin enabled on your site. The isotope script
   we use for our grid needs to know the exact image dimensions to layout the grid
   items and hence is incompatible with lazy load. Pls disable lazy load option 
   to resolve the issue.
 *  Thread Starter [StephenEquus](https://wordpress.org/support/users/stephenequus/)
 * (@stephenequus)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/dynamic-height-calculation/#post-12302000)
 * Ok. You’re right.
 * So.
 * I’ve spoken to the Lazy Load plugin off and have the work-around which involves
   turning off lazy load for those specific blog images
 * [https://wordpress.org/support/topic/disable-3-lazy-load-on-a-specific-image/](https://wordpress.org/support/topic/disable-3-lazy-load-on-a-specific-image/)
 * But I’m perplexed at how to add the “a3-notlazy” class to each image. Becuase
   these are being dynamically added by the Posts Grid how do I go about adding “
   a3-notlazy” to the images? I see how to add CSS to the <div>s wrapping the content
   but I don’t see a field to add a class to be added to the images. Is this correct?
 * Any ideas how to get around this?
 * Thanks again for your speedy reply.
 *  Thread Starter [StephenEquus](https://wordpress.org/support/users/stephenequus/)
 * (@stephenequus)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/dynamic-height-calculation/#post-12302019)
 * Wait, I think I got it, the plugin allows me to “Skip Images Classes” and add
   a class in a field to prevent the specific image type.
 * Ok. I think I can take it from here. Thanks again.
 *  Plugin Author [livemesh](https://wordpress.org/support/users/livemesh/)
 * (@livemesh)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/dynamic-height-calculation/#post-12304147)
 * We released an update for Elementor addons plugin of ours with the above class
   added to images part of the grid. We will issue an update within 2-3 days with
   a similar fix for SiteOrigin as well.
 * Thanks for bringing this to our attention.
 *  Thread Starter [StephenEquus](https://wordpress.org/support/users/stephenequus/)
 * (@stephenequus)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/dynamic-height-calculation/#post-12308569)
 * I think we can consider this topic resolved.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Dynamic Height calculation’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/livemesh-siteorigin-widgets_f5f5f5.
   svg)
 * [Livemesh SiteOrigin Widgets](https://wordpress.org/plugins/livemesh-siteorigin-widgets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/livemesh-siteorigin-widgets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/livemesh-siteorigin-widgets/)
 * [Active Topics](https://wordpress.org/support/plugin/livemesh-siteorigin-widgets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/livemesh-siteorigin-widgets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/livemesh-siteorigin-widgets/reviews/)

## Tags

 * [grid](https://wordpress.org/support/topic-tag/grid/)

 * 5 replies
 * 2 participants
 * Last reply from: [StephenEquus](https://wordpress.org/support/users/stephenequus/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/dynamic-height-calculation/#post-12308569)
 * Status: resolved