XF 2.1 Changing Logo Link

onthefly

Active member
Hey guys, I am currently running Jaxels portal add on and the link for the logo goes to the home page. I want change the logo link to go to forums/ instead. How can I achieve this to effect the main and mobile?
 
I usually just go to the "PAGE_CONTAINER" template and find
Code:
<img src="{{ base_url(property('publicLogoUrl')) }}"

Then manually ad my link to logo. Like so:
Code:
<img src="https://xenforo.com/community/"
 
that didnt work, just got rid one the image
Sorry mate, half asleep on that one. search:
Code:
<a href="{{ ($xf.options.logoLink && $xf.homePageUrl) ? $xf.homePageUrl : link('index') }}">

then add your link like so between the quotes:
Code:
<a href="https://xenforo.com/community/">
 
Hi,

I have the same problem as @onthefly and changed the Link, that I click on the Logo.
It is working. But only for the Desktop PC. If i use it on Smartphone or i shrink the page in Browser, the link goes to the Home (Portal) instead to the forums.

Any Idea why it is like that?
 
Back
Top Bottom