Hi,
i have a question which was not answered in this topic:
https://kriesi.at/support/topic/hintergrund-der-sich-in-breite-und-hohe-anpasst/
How can i add a link to this background image?
Thanks! Simon
Hi Simon!
That’s not possible, but you can use jQuery to do to bind the click event to the body element, try adding this to your functions.php file:
function add_custom_script(){
?>
<script>
jQuery(window).load(function(){
jQuery('body').click(function(e){
if (e.target === this) {
window.location = "_URL_HERE_"
}
});
});
</script>
<?php
}
add_action('wp_footer', 'add_custom_script');
Best regards,
Josue