Shape 5

Joomla Free Extensions => Image and Content Fader - Free => : bonzomedia October 15, 2017, 05:58:38 AM



: Full Screen Height - Overheight
: bonzomedia October 15, 2017, 05:58:38 AM
Hi!, I am using StorePro and have a simple front page with just the logo and menu bar areas followed by the Image and Content Fader and then a footer area.

With Full Screen Height enabled I expected that the image would be rendered from underneath the logo and menu bar areas to the bottom of the viewport. However, the image is showing overheight. I can share the staged website by PM.

Thanks


: Re: Full Screen Height - Overheight
: jonahh October 16, 2017, 11:22:42 AM
Hello,

Yes please send via PM.

Thanks


: Re: Full Screen Height - Overheight
: bonzomedia October 16, 2017, 11:30:07 AM
I have fixed this. If anyone wants needs to do this, in mod_s5_image_and_content_fader/tmpl/default.php I created a template override:

jQuery( document ).ready(function() { var s5_custom23winhght2 = jQuery( window ).height(); jQuery('#myGallery').css("height", s5_custom23winhght2); });               
jQuery( window ).resize(function() { var s5_custom23winhght2 = jQuery( window ).height(); jQuery('#myGallery').css("height", s5_custom23winhght2); });

to apply an offset for the height of my header area...

jQuery( document ).ready(function() { var s5_custom23winhght2 = jQuery( window ).height(); jQuery('#myGallery').css("height", s5_custom23winhght2-230); });               
jQuery( window ).resize(function() { var s5_custom23winhght2 = jQuery( window ).height(); jQuery('#myGallery').css("height", s5_custom23winhght2-230); });




: Re: Full Screen Height - Overheight
: jonahh October 17, 2017, 11:49:57 AM
Thanks for the update, happy to hear you got it sorted as you need it.