MyBB Community Forums
location board logo - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Themes (https://community.mybb.com/forum-103.html)
+---- Forum: Theme Support (https://community.mybb.com/forum-10.html)
+---- Thread: location board logo (/thread-225312.html)



location board logo - spinning - 2019-11-13

Where can I change the location of the board logo in flatty theme.
I looked around in the header template from flatty and in global css and i can only find #logo (and that is the banner on the top).
For the board logo I find no padding. InĀ https://www.ikf-forum.eu/comeback/ it is the round button in the header. The new location must be on the left and top with a padding from 15px


RE: location board logo - Ashley1 - 2019-11-13

How to change the logo is in the docs that come with the install package.


RE: location board logo - spinning - 2019-11-13

Nope, only how to add it, not how to change the location.


RE: location board logo - Ashley1 - 2019-11-13

(2019-11-13, 06:06 PM)spinning Wrote: Nope, only how to add it, not how to change the location.

It centers like that because class wrapper has margin set to auto - check global.css approx line 51.

In header template of Flatty theme, try replacing:

		<div class="wrapper">
			<a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" title="{$mybb->settings['bbname']}" /></a>
		</div>

with:

		
			<a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" title="{$mybb->settings['bbname']}" /></a>
		



RE: location board logo - spinning - 2019-11-13

Thanks and how to change the margin from the top?


RE: location board logo - Ashley1 - 2019-11-13

You can do it like this also in header template:

<a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" title="{$mybb->settings['bbname']}" style="margin-top: 16px" /></a>



RE: location board logo - spinning - 2019-11-13

Thanks for solving it.