MyBB Community Forums

Full Version: how to put the background
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello,can anyone tell me how to add a background to the right bottom of my forum.it will shows on every page..
thanks
[Image: ok.JPG]
Are you talking about an image in that box? You would need to open your index templates and then edit your index and put in your code below this section:

<td style="vertical-align: top; text-align: right;"><span class="smalltext">{$logoutlink}
<a href="misc.php?action=markread">{$lang->markread}</a> | 
<a href="showteam.php">{$lang->forumteam}</a> | <a href="stats.php">
{$lang->forumstats}</a></span>
						{$loginform}

Of course you'll have to make sure to put in at least one <br> so it will be on it's own line. Hope that helps? There may be a more complicated or better way to do it, but that's what I came up with! Big Grin
BUT, this will only show up on your main page, not every page!

If you're talking about the very bottom, that would be in the footer. You would have to put something before the first </div> or </span>, but I don't even know if it would look right...but it would be on every page then!
hello.thanks for answering me
can you instruct me more.how to put just show in index page,and how to show in everypage?i'm newbie with code
thanks again
I use adminpanel to put a bg immage in the footer.

I goto Themes --> Modify / Delete

Then i take MyBB Master Style and push Go

next i think you meen the Bottom Links Menu? ( you have to see your self if its correct )
and put the next line in  after the word Background #efefef url(images/yourImage.gif) bottom right no-repeat.

and push Save changes. and normaly you will see the image inside this table.

Hope i'm correct here ?????
yeah,thanks.i will try it
i see it in the bottom box,but large image can't be display all.
how to see in the red circle as the screenshot.i mean it's not anybox,behind all of them!
another sollution is
1. Like judel told you in the beginning.
2. Try the same as you did right now, but then for the container. Then it wil be placed in the bottom right corner of the forum.

Yes if this is used in more dan one table, you have a problem, and i didnt think about that
judel Wrote:You would need to open your index templates and then edit your index and put in your code below this section:
can you tell me more?i'm newbie
thanks a lot
So you do want an image in that red circle?

Go into AdminCP -> Templates -> modify/delete -> EXPAND THEME TEMPLATE -> EXPAND Index page Templates -> EDIT Index

Then find:

<td style="vertical-align: top; text-align: right;"><span class="smalltext">{$logoutlink}
<a href="misc.php?action=markread">{$lang->markread}</a> | 
<a href="showteam.php">{$lang->forumteam}</a> | <a href="stats.php">
{$lang->forumstats}</a></span>
                        {$loginform} 
add after:

<br><br><img src="yoursite.com/image.jpg">

Just replace your site and actual image URL, then hit Update Template. If you have more than one set of theme templates, you will need to do this for all of them!

Hope that helps!