I have hook which is pretty much: <?php echo do_shortcode('[metaslider id="42"]'); ?>
and menu html,
but I can’t seem to set it to load before page content, I have tried to set it to generate_before_content then it dissapears. Tried to set it before_header but it loads content first still. I have tried variety of options from dropdown menu, still don’t work can some one help me? Thanks in advance.
I mean when it loads. I need it to be render blocked or loaded first, because first half second I can see content below instead of slider before slider appears. It makes website look unprofessional.
the problem is the Sliders height is unknown until the Images are loaded. And as the height of those images will vary depending on the screen width its tricky to set a ‘fixed’ size as that would be a problem with its responsive behaviour.
You may want to try reconfiguring the slider, it has multiple Slider methods and things like fade in on load should be disabled.