XF 2.2 SmallLogo img source

C4X4P

New member
Hi all..

I'm trying to change my logo on device mobiles, and for that i'm trying change the source location, but i can't do it.


Could someone help me?

I'm changing {{ base_url(property('publicLogoUrl')) for the location of the new logo (forum/data/assets/logo/xyz.png), but probaby this not the right path..

<div class="p-nav-smallLogo">
<a href="{{ ($xf.options.logoLink && $xf.homePageUrl) ? $xf.homePageUrl : link('index') }}">
<img src="{{ base_url(property('publicLogoUrl')) }}" srcset="{$srcset}" alt="{$xf.options.boardTitle}"
width="{{ property('publicLogoWidth') ?: '' }}" height="{{ property('publicLogoHeight') ?: '' }}" />
</a>
</div>
 
I'm changing {{ base_url(property('publicLogoUrl')) for the location of the new logo (forum/data/assets/logo/xyz.png), but probaby this not the right path..
Assuming you didn't add the path with the ( ) ?
Just <img src="/forum/data/assets/logo/xyz.png" ...
 
What the error pop-up says ?
You forget to put a / before forum but that could not prevent saving the template, the error is elsewhere.
 
Back
Top Bottom