Hi all, I want to use layer slider instead of the fullscreen slideshow with the same dimensions as the one page portfolio demo?
Is it possible?
http://kriesi.at/themes/enfold/homepage/home-v7-one-page-portfolio/
Please let me know.
Hi Jorge!
Thank you for using Enfold.
Please try this in the functions.php file:
// map height
add_action('wp_footer', 'ava_map_height');
function ava_map_height(){
?>
<script>
(function($){
$(window).resize(function() {
var win = $(window),
calc_height = function() {
var subtract = $('#wpadminbar, #header.av_header_top:not(.html_header_transparency #header), #main>.title_container'),
wh100 = win.height();
subtract.each(function(){ wh100 -= this.offsetHeight - 1; });
$('.ls-wp-fullwidth-container, .ls-wp-fullwidth-helper, .ls-wp-container, .ls-wp-container .ls-inner').css('height', wh100);
}
win.on( 'resize', calc_height);
calc_height();
}).resize();
})(jQuery);
</script>
<?php
}
Cheers!
Ismael