Hi,
How do I add a scroll down link shown in this example:
http://kriesi.at/themes/enfold/homepage/transparent-header/
in the color section with background shown here:
http://demo4.same-d.nl/pri/
Thanks!
Regards,
Tony
Hi same-d!
Thank you for using Enfold.
Please refer to this link: https://kriesi.at/support/topic/buttonicon-to-anchor/#post-325401
Cheers!
Ismael
Hi Ismael,
Thanks for your reply! I was wondering if it is possible to add text like ‘scroll down’ above the arrow. Thanks!
Cheers!
Tony
Hi!
Add the following code at the end of functions.php
function show_scroll_down_text_script(){
?>
<script>
(function($){
$(window).load(function() {
$('<span class="scroll-down-text">Scroll Down</span>').insertBefore('.scroll-down-link');
});
})(jQuery);
</script>
<?php
}
add_action('wp_footer', 'show_scroll_down_text_script');
Use the span class to style the text using normal css.
Cheers!
Arvish
Hi Arvish,
Thanks for your reply! I paste the code in functions.php but the text doensn’t appear. Do I need to add anything? You can find the page i’m trying to add the code to here: http://demo4.same-d.nl/vizier/
Thanks!
Tony
Nevermind, I made it work! :)
I just added this:
position: absolute;
left: 50%;
bottom: 0px;