Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #320399

    Hi,

    how can i link the entire notification box?

    (http://kriesi.at/themes/enfold/shortcodes/notificatio/)

    #320487

    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

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.