MyBB Community Forums
How to keep logo on the left but add a righthand banner/gif in addition - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: How to keep logo on the left but add a righthand banner/gif in addition (/thread-208261.html)

Pages: 1 2 3


How to keep logo on the left but add a righthand banner/gif in addition - Bigredclaygeorgia - 02-13-2017

sorry if this is asked weirdly but i want my website to look like the photo below. (i photoshopped the long banner on the righthand side but the logo on the left i uploaded via filezilla)

how do i get it to look like the photo below.

(also would i be able to put my own photos/gifs in the adsense?)

-Thank you very much for your help and time.




RE: How to keep logo on the left but add a righthand banner in addition - Bigredclaygeorgia - 02-14-2017

bump bump


RE: How to keep logo on the left but add a righthand banner/gif in addition - johnnyvang - 02-14-2017

In the header template find
<a href="{$mybb->settings['bburl']}/index.php"><img src="{$mybb->settings['bburl']}/images/logo.png" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a>

Add after the new banner info ( url + image tage ).
Add one or more &nbsp; between the links to move your second logo/banner more to the right.


RE: How to keep logo on the left but add a righthand banner/gif in addition - Bigredclaygeorgia - 02-14-2017

Oh or what about this. Is there a way I can USE ADSENSE but instead of putting ads I can put my own banners/gifs in adsense? if so how would i do that?

thanks for your help Smile


RE: How to keep logo on the left but add a righthand banner/gif in addition - johnnyvang - 02-14-2017

Not sure, but i don't think it's possible to show your own banners/gif via adsense.
Yes it's possible, but it will cost you money and they are showed on other websites too.
If you only need a way to show your own banners/gifs maybe this will help you: http://forums.mybb-plugins.com/Thread-My-Advertisements-2-3


RE: How to keep logo on the left but add a righthand banner/gif in addition - Bigredclaygeorgia - 02-14-2017

(02-14-2017, 11:45 AM)johnnyvang Wrote: In the header template find
<a href="{$mybb->settings['bburl']}/index.php"><img src="{$mybb->settings['bburl']}/images/logo.png" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a>

Add after the new banner info ( url + image tage ).
Add one or more &nbsp; between the links to move your second logo/banner more to the right.

where do i find this (see photo below) I KNOW ZILCH ABOUT CODING. I need lotsa help lol Smile


RE: How to keep logo on the left but add a righthand banner/gif in addition - johnnyvang - 02-14-2017

Click header, around line 6 there's the info


RE: How to keep logo on the left but add a righthand banner/gif in addition - Bigredclaygeorgia - 02-14-2017

(02-14-2017, 07:05 PM)johnnyvang Wrote: Click header, around line 6 there's the info

do you mean i copy that code twice?


RE: How to keep logo on the left but add a righthand banner/gif in addition - johnnyvang - 02-15-2017

(02-14-2017, 11:59 PM)Bigredclaygeorgia Wrote:
(02-14-2017, 07:05 PM)johnnyvang Wrote: Click header, around line 6 there's the info

do you mean i copy that code twice?

No.
Find the code in the template.
Then add after the code for your banner eg <img src="banner.gif">

The complete code will be something like
<a href="{$mybb->settings['bburl']}/index.php"><img src="{$mybb->settings['bburl']}/images/logo.png" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a><img src="banner.gif">



RE: How to keep logo on the left but add a righthand banner/gif in addition - Bigredclaygeorgia - 02-15-2017

(02-15-2017, 12:02 AM)johnnyvang Wrote:
(02-14-2017, 11:59 PM)Bigredclaygeorgia Wrote:
(02-14-2017, 07:05 PM)johnnyvang Wrote: Click header, around line 6 there's the info

do you mean i copy that code twice?

No.
Find the code in the template.
Then add after the code for your banner eg <img src="banner.gif">

The complete code will be something like
<a href="{$mybb->settings['bburl']}/index.php"><img src="{$mybb->settings['bburl']}/images/logo.png" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a><img src="banner.gif">

do i have to first upload my image via filezilla to my cpanel before i do this? sorry i feel really stupid asking this lol Smile

thanks