Adding A Logo from Setting/General/Logo Does not work, for any theme

nootkan
Sr. Bludit
Posts: 43
Joined: Tue Feb 14, 2017 4:59 pm

stokesman wrote: Fri Mar 20, 2020 6:28 am Not sure when it was introduced but I used the logo method in my theme:

Code: Select all

<img src="<?= $site->logo() ?>" alt="<?= $site->title() ?>" width="360">
I guess I found that browsing the source because I just rechecked and didn't find it in the docs. So then made a pull request to add mention of it in the docs.
I am having the same issue when trying to use a logo with the "alternative theme". May I ask where you place the code you use to make it work?
nootkan
Sr. Bludit
Posts: 43
Joined: Tue Feb 14, 2017 4:59 pm

I got it to work with the Alternative Theme by placing inside the navbar.php file just below the div class container tag. Now I just need to add a class in the img tag to place it correctly. :P
Post Reply