Changing Logo Link

Hi,

I would like to change the link that the logo redirects to when you click on it.

Currently when you click on the uploaded logo in the header, it redirects you back to the home page.

Is there a way to change where it directs you to when you click on the logo?

Thanks in Advance,

Daniel

Hi Daniel,

Thank you for contacting us.
I hope you’re doing well today.

To achieve that purpose, please do:

  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'
  var url = 'https://yournewlink.com';
  $('.site-branding a.custom-logo-link).attr('href', url);

})(jQuery);

Relace https://yournewlink.com with your URL target.

  1. Update

Stay safe.
Have an excellent day :slight_smile:

Regards,
Kharis
aThemes Support

Hi Kharis,

Thank you for the quick reply. Unfortunately this didn’t seem to work.

The code has been implemented but the result is still the same.

The website concerned is https://ndihluthi.co.za

Hello there,

Thank you for updating me.

I can’t inspect your site as the maintenance mode is enabled. Please set it for publis, so I can do direct checking.

Stay safe.
Have an excellent day :slight_smile:

Regards,
Kharis
aThemes Support