Hi Joao,
Below the function I have showed above, kindly replace this code:
$output .= "<div class='$extraClass info_text_header' id='info_text_header' data-hash='$bannerHash' data-cookiename='$cookieName'><div style='padding-right:".$padding."px;' class='infotext_wrap'>";
$output .= "<div class='infotext'>$bannerText <a class='close_info_text rounded' href='#close'>".__('close','avia_framework')."</a></div>";
$output .= "</div></div>";
With this:
$output .= "<a href=\"http://kriesi.at\"><div class='info_text_header2' id='info_text_header2'></div></a>";
Change http://kriesi.at to the url you want the user to be redirected when they clicked the button. Then, go to: wp-content\themes\angular\css\custom.css and add this code:
#info_text_header2{
position: relative;
height:42px;
width:42px;
z-index: 151;
top:0;
overflow: hidden;
left:-1px;
}
#info_text_header2{
left:0px;
background-image: url(../images/layout/icon-alert.png);
background-position: 0 top;
background-repeat: no-repeat;
cursor: pointer;
-webkit-transition: all 0.4s ease-in-out;
-moz-transition: all 0.4s ease-in-out;
-o-transition: all 0.4s ease-in-out;
-ms-transition: all 0.4s ease-in-out;
transition: all 0.4s ease-in-out;
border-width: 1px;
border-style: dotted;
border-top:none;
border-bottom:none;
border-color:#D4C5B9;
}
#info_text_header2:hover {
background-color: #333;
background-position: -43px top;
}
Hope this helps. :)
Regards,
Ismael