Sydney Pro Header contact link

Hi all,

the Sydney Header Contact does not allow HTML code … so I can’t add a href link to the email or tel. number … any idea how I can change this? It does not make sense to just have the text over there but not beeing able to click on it for the link …

Cheers, Timo

Hi Timo,

You can edit those parts with extra jQuery code below:


      if( $('.header-contact-info .header-email').length ) {

        var email = $('.header-contact-info .header-email a').attr('href');
        $('.header-contact-info .header-email i').wrap('<a href="'+email+'"></a>');


     if( $('.header-contact-info .header-phone').length ) {

       var phone     = '12345';
       var phoneHTML = ' <a href="tel:'+phone+'">'+phone+'</a>';

       $('.header-contact-info .header-phone').html('<i class="fa fa-phone"></i>'+phoneHTML);


  1. Install and activate the TC Custom JavaScript plugin
  2. Go To Appearance > Custom JavaScript
  3. Paste the code into above the provided box
  4. Update

aThemes Support