Hi
I would like to make something like this:
See link: https://snipboard.io/l9pJjP.jpg
Is it possible to do in Enfold.
Right now I’m using Grid row, but I can’t figure out if it’s the best solution.
Link:https://hallolab.dk/alivia/
Thanks
Another question.
How do I change the position for the Scroll to top button, to appear?
Thanks
Hi,
1- It seems like you have figured it out already? :)
2- Please add following code to Quick CSS field in Enfold theme options > General Styling tab and adjust the values as needed
#scroll-top-link {
right: 0;
bottom: 200px;
}
If that is not what you meant, please elaborate on the changes you would like to make.
Best regards,
Yigit
Hi
Thanks for your reply.
Yes i solved nr.1 with a plugin.
What I meant in nr. 2, was how I control when to display the “scroll to top” arrow?
Thanks
Hi,
Please copy /enfold/js/avia.js file to your child theme and open the file and find
if(st < 500)
by default it appears after scrolling 500px from top. Change it as needed then add following code to functions.php file of your child theme
function wp_change_aviajs() {
wp_dequeue_script( 'avia-default' );
wp_enqueue_script( 'avia-default-child', get_stylesheet_directory_uri().'/js/avia.js', array('jquery'), 2, true );
}
add_action( 'wp_print_scripts', 'wp_change_aviajs', 100 );
Best regards,
Yigit