Making the button not open in a new tab

Hello! I need to make the Contact Us button not open in a new tab in the header. Any ideas?

Thank you so much,


Hi Jack,

Thank you for contacting us. I am happy to help with your queries.

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( $('.header-custom-item a.header-button').length ){
        $('.header-custom-item a.header-button').attr('target', '_self');

  1. Update

aThemes Support