Tagged: button, landing page, sticky
Hey Anna_Tewes,
Perhaps a button like this:
Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:
function custom_script() { ?>
<script>
window.addEventListener('DOMContentLoaded', function() {
(function($){
var button = $('<div id="customButton" class="avia-button-wrap av-lfo8bepl-f0ac6d7c934e9f180b74755360f479e5-wrap avia-button-center avia-builder-el-0 avia-builder-el-no-sibling "><a href="" class="avia-button avia-icon_select-no avia-size-medium avia-position-center avia-color-dark"><span class="avia_iconbox_title">Overview</span></a></div>');
$(button).prependTo('body');
})(jQuery);
});
</script>
<?php
}
add_action('wp_footer', 'custom_script');
and add this css at Enfold Theme Options ▸ General Styling ▸ Quick CSS field:
#customButton {
position: fixed;
top: 7%;
right: 12%;
z-index: 503;
}
If you need any help adjusting for your site please include an admin login in the Private Content area so we can be of more assistance.
Best regards,
Mike