• Resolved Anonymous User 17612203

    (@anonymized-17612203)


    On my start page I have a slider with 100% width.
    The page is allready loaded before slider is loaded. After the slider is loaded everything after the slide will move down. This I want to stop.

    My thought:
    1. detect the screen width and multiplicate this with the slider ratio to calculate the slider height.
    2. reserve the calculated height till the slider is loaded

    Thats the first part. The second part is, that I have defined a min height of the slider (210px), so the calculated height must be also min 210px in height.

    Any idea how to get this solved?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Laszlo

    (@laszloszalvak)

    Hi @check2020de

    I am sorry, but our slider has to load last, since we are positioning everything based on the loaded CSS and JavaScript codes on the website, so we have to wait until your website is completely built up to know how big our slider can be and where the layers should be.
    Also the height of your slider is based on the height of your content, so if your content doesn’t fit into the slider the slider width height ration may differ.

    So I am sorry, you can not avoid this behavior, but you can improve the results by settings a minimum height:

    what your slider height won’t exceed.

    However please note that, to make this work, you will need to get in touch with us over the ticket system, since in the current release the Min Height won’t affect on the height of the place holder!
    So please open a support ticket at:
    https://smartslider3.com/contact-us/support/?ref=https://wordpress.org/support/topic/onload-image-height/
    and we will send you the installer of our latest build, that already contains this fix!

    Best regards,
    Laszlo.

    Thread Starter Anonymous User 17612203

    (@anonymized-17612203)

    Thanks @laszloszalvak

    I do understand that I can’t avoid this behavior… but I don’t understand what the fix you are talking about is for?

    Plugin Support Laszlo

    (@laszloszalvak)

    Hi @check2020de

    In the current release, the Min Slider height option won’t increase the height of the slider place holder which appears while your slider is loading.
    In our latest build we created a fix for that, but we couldn’t release a new version, yet.

    So to be able to use the “Min height” setting to increase the height of the place holder height as well, you will need to get in touch with us directly over the ticket system, refer to this topic and we will send you an updated installer.

    Thread Starter Anonymous User 17612203

    (@anonymized-17612203)

    For me it looks like that the “min height” setting is still increasing the heigh of the placeholder…. need to double check. Will go for the update!

    Thanks!!

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

The topic ‘Onload image height’ is closed to new replies.