Hello there,
Please try doing these steps, please.
- Install and activate the TC Custom JavaScript plugin
- Go To Appearance > Custom JavaScript
- Paste the following code into the provided box
(function($){
"use strict"
if( $('body').hasClass('home') ) {
var heroContent = '<div class="slide-inner">';
heroContent += '<a class="scroll-down-arrow" href="#primary"><i class="fa fa-angle-down"></i></a>';
heroContent += '</div>';
$('.sydney-hero-area').append(heroContent);
}
if( $('.extra-slide-button').length && $('.sydney-hero-area').length ) {
$('.extra-slide-button').remove().clone().insertAfter('.scroll-down-arrow').css('display', 'block');
}
})(jQuery);
4 . Update
5 . Add this CSS code to Appearance > Customize > Additional CSS from dashboard.
.scroll-down-arrow{
position: absolute;
bottom: 10px;
left: 0;
z-index: 5;
font-size: 40px;
display: block;
width: 100%;
text-align: center;
}
@-webkit-keyframes bounce {
0%, 20%, 50%, 80%, 100% {-webkit-transform: translateY(0);} 40% {-webkit-transform: translateY(-30px);}
60% {-webkit-transform: translateY(-15px);}
}
@-moz-keyframes bounce {
0%, 20%, 50%, 80%, 100% {-moz-transform: translateY(0);}
40% {-moz-transform: translateY(-30px);}
60% {-moz-transform: translateY(-15px);}
}
@-o-keyframes bounce {
0%, 20%, 50%, 80%, 100% {-o-transform: translateY(0);}
40% {-o-transform: translateY(-30px);}
60% {-o-transform: translateY(-15px);}
}
@keyframes bounce {
0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
40% {transform: translateY(-30px);}
60% {transform: translateY(-15px);}
}
.scroll-down-arrow{
-webkit-animation-name: bounce;
-moz-animation-name: bounce;
-o-animation-name: bounce;
animation-name: bounce;
-webkit-animation-fill-mode:both;
-moz-animation-fill-mode:both;
-ms-animation-fill-mode:both;
-o-animation-fill-mode:both;
animation-iteration-count: infinite;
-moz-animation-iteration-count: infinite;
-webkit-animation-iteration-count: infinite;
animation-fill-mode:both;
-webkit-animation-duration:2s;
-moz-animation-duration:2s;
-ms-animation-duration:2s;
-o-animation-duration:2s;
animation-duration:2s;
}
.extra-slide-button {
width: 100%;
position: absolute;
bottom: -30px;
}
Regards,
Kharis