Contact Widget add on


#1

Hello,

In the home page of www.sbcconsulting.in 's Contact Widget below,
I want to add one more Ph. no. +91-75877427
Just in middle of the existing phone number and email id. I want the same phone icon at left side. Is there any chance to do so ? If yes then can you please provide the code ?


#2

Hello there,

To accomplish it, try doing the below 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( $('.perth_contact_info_widget .contact-phone').length ) {
       var phone = '+91-75877427';
       $('.perth_contact_info_widget .contact-phone:first').clone().insertBefore( $('.perth_contact_info_widget .contact-email') ).html('<span><i class="fa fa-phone"></i></span>' + phone);
     }

    })(jQuery);
  1. Update

Regards,
Kharis


#3

It’s all working and thanks for your support !


#4

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