Page 1 of 1
Add a logo?
Posted: Mon Apr 27, 2020 10:12 am
by Stoufb
How do i replace site title with a logo?
Re: Add a logo?
Posted: Sat May 09, 2020 11:04 am
by Arvid
Hi, welcome to FlatPress
Please see the template files of the theme you use. For Leggero, the default theme, this would be the .tpl files in
fp-interface/themes/leggero/. You should find the file
header.tpl there which defines the look of your site's header. As for Leggero, the interesting part of the header is this:
Code: Select all
<div id="head">
<h1><a href="{$smarty.const.BLOG_BASEURL}">{$flatpress.title}</a></h1>
<p class="subtitle">{$flatpress.subtitle}</p>
</div> <!-- end of #head -->
Just replace the site title by your logo there.
If your changes are not shown immediately, please refresh the theme cache in the admin area ("Maintain" -> "Purge theme and templates cache").
And while you're on it:
Our wiki holds tons of useful information about creating and editing themes and plugins, e.g. the
Theme Mini-Howto.
Have fun using FlatPress!
Arvid