Page 2 of 2

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

Posted: Wed Jun 10, 2020 6:13 pm
by nootkan
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?

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

Posted: Thu Jun 11, 2020 5:24 am
by nootkan
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