• Hi I’m using the free version of your theme but I can’t make the home central button clickable with the phone number (Link Tel).

    Why?

    Thanks

    • This topic was modified 2 years, 12 months ago by legangela.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @legangela,

    Thank you for contacting us. I am happy to help out.

    You can add a tel tag to the current header button by doing these steps:

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

    (function($){
    
      if( $('.sydney-hero-area .subtitle .button-slider').length ) {
    
        $('.sydney-hero-area .subtitle .button-slider').attr('href', 'tel:+39.388.63.63.659');
    
      }
    
    })(jQuery);

    4. Update

    Hope that helps.

    Regards,
    Kharis

    Thread Starter legangela

    (@legangela)

    Sorry for the delay in replying but I have not received the notification,
    I tried but it doesn’t work..

    @legangela no worries.

    Try replacing the code with this one. And let me know how it goes.

    
    (function($){
    
      if( $('.sydney-hero-area .text-slider-stopped .button-slider').length ) {
    
        $('.sydney-hero-area .text-slider-stopped .button-slider').attr('href', 'tel:+39.388.63.63.659');
    
      }
    
    })(jQuery);

    Regards,
    Kharis

    Thread Starter legangela

    (@legangela)

    Perfect! Thank you <3

    You’re welcome!

    Please let us know in a new topic if you have any further questions, or if we can provide you with any other assistance.

    Regards,
    Kharis

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Button Homepage’ is closed to new replies.