Employee section icons (facebook/twitter) opening in the same page?

Hi, I just wondering how to set, that when you click EMPLOYEE SECTION ICONS (like facebook/twitter) you don’t open new browser page, but open link in the same page? Thanks!

Hello there,

To do such that objective, you’ll need to remove the target="_blank" attribute attached on each social link. The easiest way to do it without touching the main theme’s file is by using jQuery code. Please follow 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($) {

   'use strict'

   if( $('.team-social').length ){
      $('.team-social a').removeAttr('target');
   }

})(jQuery);

  1. Update

Regards,
Kharis