Tenaya Digital

Code

Changing the open in new tab for button header – Sydney Pro theme

Try doing the below steps:

  1. Install and activate the TC Custom JavaScript 1 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');
      }

    })(jQuery);
  1. Update
Recommended Reads