MyBB Community Forums
Creating a new Theme! Need some help... - 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: Creating a new Theme! Need some help... (/thread-12962.html)



Creating a new Theme! Need some help... - JoaoVr - 2006-10-07

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


RE: Creating a new Theme! Need some help... - darkteller - 2006-10-07

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;
}



RE: Creating a new Theme! Need some help... - JoaoVr - 2006-10-07

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?


RE: Creating a new Theme! Need some help... - darkteller - 2006-10-07

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.


RE: Creating a new Theme! Need some help... - JoaoVr - 2006-10-08

Many Thanks!


RE: Creating a new Theme! Need some help... - darkteller - 2006-10-08

Did it work? Toungue


RE: Creating a new Theme! Need some help... - JoaoVr - 2006-10-08

darkteller Wrote:Did it work? Toungue

Yes! Big Grin