Using jQuery to make html adjustment on page load. Placed in html file immediately following the footer.
<?php wp_footer(); ?>
<script type="text/javascript">
$(window).on('load', function(){
var width = $(window).width();
if ( width > 991 && width < 1200 ) {
$( ".landing-title" ).parent( ".col-md-8" ).css({
"position": "relative",
"top": "-70px"
});
}
});
$(window).on('resize', function(){
var width = $(window).width();
if ( width > 991 && width < 1200 ) {
$( ".landing-title" ).parent( ".col-md-8" ).css({
"position": "relative",
"top": "-70px"
});
} else {
$( ".landing-title" ).parent( ".col-md-8" ).css({
"position": "relative",
"top": "0"
});
}
});
</script>
</body>
</html>