Hi spacepix007
The mockup and usage of hero block in our demo site and that sample in codepen are different. You can try this way instead:
- Go to file: /templates/ja_ego/js/template.js
- Add this snippet of code to the end of file:
$(function() {
var $el = $('.acm-hero.style-4');
$el.css('background-position','50% 0px');
$(window).on('scroll', function () {
var scroll = $(document).scrollTop();
$el.css({
'background-position':'50% '+(-.4*scroll)+'px'
});
});
});