MyBB Community Forums

Full Version: Creating a new Theme! Need some help...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there!

I’m trying to create a new theme based on FreeMind Theme because this one is not compatible with 1.2.1 version of mybb.

I have created two foruns: My normal forum with default theme and a test forum with FreeMind theme. I went to "Administration -> Themes -> Modify" of each forum an copied the coulours of FreeMind to default forum!

I changed the background of some icons with problems and it seems all OK Wink

Now i need to change 2 things, I`m going to show some pictures to explain better (I have a poor english):

[Image: 45uv0.th.png]
1. Need to center the forum logo.

[Image: 46sd6.th.png]
2. "New Forum" button should be more to the left.

Thanks
Let's say that the bg code is <img src="logourl" /> you shoul add
Quote:style="text-align:center"

For the second one you can use a padding-right property in the css, testing some values.
You have to go on the addictional css:
.float_right {
	float: right;
padding-right:50px;
}
darkteller Wrote:Let's say that the bg code is <img src="logourl" /> you shoul add
Quote:style="text-align:center"

Where I can find that?

darkteller Wrote:For the second one you can use a padding-right property in the css, testing some values.
You have to go on the addictional css:
.float_right {
	float: right;
padding-right:50px;
}

Wich part i put that?
1)Even if I don't have this problme, try this. Go on masks, expand it, and look for 'header'
Modify it and search this:
			<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" /></a></div>
Change it in:
			<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" style="text-align:center" /></a></div>
Now save.

2)At the end of the theme css "Addictional Css", add that if it's not there already.
Many Thanks!
Did it work? Toungue
darkteller Wrote:Did it work? Toungue

Yes! Big Grin