Logo Custom Link In Helix - Question | JoomShaper
šŸŽƒ Halloween Sale is Live! Get 35% OFF on all plans. Sale ends soon!Ā Get Offer

Logo Custom Link In Helix

R

Roderick

Helix Framework 6 months ago

Hello,

I am currently working on the Travus template, which uses the Helix 2.1.2 framework. I would like to modify the company logo so that clicking on it opens a specific hyperlink in a new tab.

I came across the Helix documentation for version 2.0.12, which mentions an option called ā€œLogo Custom Linkā€ under the ā€œBasicā€ > ā€œLogoā€ settings. However, upon checking in version 2.1.2 (as used in the Travus template), I noticed that this option is no longer available.

I’ve also searched the forums, and some users suggest editing the logo.php file. While I have a basic understanding of HTML and CSS, I’m not a programmer and I’m not entirely sure where or how to add the hyperlink within the PHP file.

Could you kindly guide me on how to safely insert a custom hyperlink in the logo.php file? Ideally, I’d like the link to open in a new browser tab. Alternatively, is there a way to enable or restore the ā€œLogo Custom Linkā€ feature in this version of Helix?

Your assistance would be greatly appreciated.

Regards,

Rod

0
3 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 6 months ago #190161

Hi Rod, indeed that feature (new link option) was implemented inside Helix Ultimate template 3 years after Travus template was developed, so it do not have it :/

Using basic HTML knowledge you should be able to add that link manually. Even if logo.php file looks scary, it has basic code inside.

Tip (step by step):

  1. Edit file by using HTML editor (or built-in Joomla editor): \features\logo.php (from template folder)
  2. Find line 68 and 81 with $html .= '<a href="' . Uri::base(true) . '/">';
  3. Remove current content inside " " and put your own link, for example, $html .= '<a href="/contact">';
  4. Save changes, upload changed file
  5. You may also change file permission from 644 to 444.
0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 6 months ago #190162

If you are using Text logo (not chosen image!) make changes in line 98 and 100. In similar way.

0
R
Roderick
Accepted Answer
6 months ago #190163

Hello Paul,

Thank you so much for your guidance and patience. I followed your advice and it worked.

Regards,

Rod

0