Hi,
how can i link the entire notification box?
Hey dwg2014!
Please firstly turn on custom CSS field for ALB elements ( http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ ) and then give your notification box a unique CSS class ( in the example i will use ‘linked-box’ ) then add following code to Quick CSS in Enfold theme options under General Styling tab
.linked-box { cursor: pointer; }
and then add following code to Functions.php file in Appearance > Editor
function add_custom_notification_box(){
?>
<script>
jQuery(window).load(function(){
jQuery('.linked-box').click(function () {
window.location = 'http://kriesi.at';
});
});
</script>
<?php
}
add_action('wp_footer', 'add_custom_notification_box');
Regards,
Yigit