Rocked Contact info- Add a line phone number

Hello Team ,

how can we add a cell phone line in the Rocky widget contact info ? please,
Thank you for your help

Best regard
S

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
    jQuery(function($) {

      var phone = '98751';
      $('.rocked_contact_info_widget .contact-phone').clone().insertBefore('.rocked_contact_info_widget .contact-email').text(phone);

    });
  1. Update

Regards,
Kharis

Hello Kharisblank,

Exactly done !

Thank you for your help again !

Best regard
S

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

Hello Kharisblank,

Precisely I was asking the question is it possible to change the second phone icon with another that would be a mobile phone ? or it’s impossible ?

Thank you for your help again !

Best regard
S

Hello there,

Try adding this CSS code to Appearance > Customize > Additional CSS from dashboard.

.rocked_contact_info_widget .contact-phone:nth-of-type(3):before {
  content: "\f10b";
}

Regards,
Kharis

Hello Kharisblank

It’s a kind of magic

Thank you for your help again x2 !

Best regard
S

You’re welcome!

Glad to have an opportunity to assist you.

If you don’t mind, please share your positive review here to let the world know how amazing our products and services.

Regards,
Kharis