diff --git a/application/views/home.php b/application/views/home.php index 18399825..2252adb8 100644 --- a/application/views/home.php +++ b/application/views/home.php @@ -95,6 +95,11 @@ $("#demo-third-step").hide(); $("#demo-fourth-step").hide(); + var windowHeight = $(window).height(); + var headerHeight = $('header').height(); + $(".slogan-home").css("margin-top", -windowHeight+headerHeight+70); + + $('video,audio').mediaelementplayer({features: []}); $(".continue").click(function(){ diff --git a/assets/css/main.css b/assets/css/main.css index 7df77506..659ca8a2 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -785,10 +785,6 @@ button[name=syncDone], .mejs-container .mejs-controls { visibility:hidden !important; } -.slogan-home { - margin-top: -630px -} - .slogan-home h1{ color: #FFFFFF; font-size: 40px;