Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
location board logo
#1
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
[Image: bannermybb.jpg]
Reply
#2
How to change the logo is in the docs that come with the install package.
What goes around comes around
Reply
#3
Nope, only how to add it, not how to change the location.
[Image: bannermybb.jpg]
Reply
#4
(11-13-2019, 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>
		
What goes around comes around
Reply
#5
Thanks and how to change the margin from the top?
[Image: bannermybb.jpg]
Reply
#6
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>
What goes around comes around
Reply
#7
Thanks for solving it.
[Image: bannermybb.jpg]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)