TinyPortal

Development => Support => Topic started by: PepeSmith on April 02, 2010, 03:35:42 PM

Title: [Solved]Adjust border padding?
Post by: PepeSmith on April 02, 2010, 03:35:42 PM
Hi,

Just upgraded to smf 2.0 then installed latest tinyportal. Was wondering how I remove the padding on the left and right so my page will fit the whole screen?

For example in this site there is a gap on the left and right how do i adjust that and make it smaller?

My site is pokermanila.com btw.
Title: Re: Adjust border padding?
Post by: Xarcell on April 02, 2010, 04:42:55 PM
I'm not sure what you mean. It is 100%.

I recommend you trying a different theme.
Title: Re: Adjust border padding?
Post by: Crip on April 02, 2010, 05:15:07 PM
looks fine to me?
Title: Re: Adjust border padding?
Post by: PepeSmith on April 02, 2010, 06:13:17 PM
Yeah kinda fixed it and made some of my banners smaller to take the scroll bars out.

But what if I wanted to make the blue borders on the left and right smaller so that my main forum maximizes the space.

See pic.

http://picasaweb.google.com/lh/photo/1IzaGEk5z24QkCJeGWeWXQ?authkey=Gv1sRgCM359N6ViYrbgwE&feat=directlink
Title: Re: Adjust border padding?
Post by: SN on April 02, 2010, 06:20:22 PM
You mean increase your theme width?

Admin CP > Configuration > Current Theme > Forum Width.

Then put in there 100%
Title: Re: Adjust border padding?
Post by: PepeSmith on April 02, 2010, 06:24:28 PM
Quote from: SN on April 02, 2010, 06:20:22 PM
You mean increase your theme width?

Admin CP > Configuration > Current Theme > Forum Width.

Then put in there 100%

Yeah already tried that but it still has that gap on the left and right that I want to make smaller.

I want the left and right gap to be as small as the gap on the top.

I'm using the default theme so I guess it's just a matter of adjusting something but my skills are very limited. :'(
Title: Re: Adjust border padding?
Post by: SN on April 02, 2010, 06:30:00 PM
ok in your index.css for that theme.

find

body {
background:url("../images/theme/backdrop.png") repeat-x scroll 0 0 #E9EEF2;
font:78%/130% verdana,Helvetica,sans-serif;
margin:0 auto;
padding:15px 5%;


replace with

body {
background:url("../images/theme/backdrop.png") repeat-x scroll 0 0 #E9EEF2;
font:78%/130% verdana,Helvetica,sans-serif;
margin:0 auto;
padding:15px 1%;
Title: Re: Adjust border padding?
Post by: Xarcell on April 02, 2010, 06:45:55 PM
Yes, there is padding there that should be lessened. What SN suggested should work. It's a theme thing, not a TP thing.
Title: Re: Adjust border padding?
Post by: SN on April 02, 2010, 06:48:31 PM
1% changes it to the exact same size as the top. if you want to get rid of it completely just put 0%
Title: Re: Adjust border padding?
Post by: PepeSmith on April 02, 2010, 07:09:02 PM
This is what i found. In the index.css

/* Set a fontsize that will look the same in all browsers. */
body
{
   background: #E9EEF2 url(../images/theme/backdrop.png) repeat-x;
   font: 78%/130% "Verdana", "Arial", "Helvetica", sans-serif;
   margin: 0 auto;
   padding: 15px 0%;
}


Changed the 5% to 0% but nothing happened... :'(
Title: Re: Adjust border padding?
Post by: SN on April 02, 2010, 07:18:00 PM
I just had alook at you site and it still says it is set to 5%

make sure you are changing the correct theme.

Administration Center Ã,» Configuration Ã,» Themes and Layout Ã,» Modify Themes.

Then make sure you select "SMF Default Theme - Curve" > " Edit this themes Style Sheet"

change what i suggested, and go to the bottom and click "save"
Title: Re: Adjust border padding?
Post by: PepeSmith on April 03, 2010, 02:22:32 AM
Now I know what the problem was... Actually I did change it right the first time.. It took some time for the server to refresh I think or I needed to keep pressing the refresh button on the browser cause it's fine now.. ;D ;D

Thanks a lot guys! Good karma to you! ;D ;D

SOLVED..
Title: Re: [Solved]Adjust border padding?
Post by: Xarcell on April 03, 2010, 07:19:09 PM
ahhh....

Here is a trick for a "hard refresh"   press: CTRL + F5

This way you don't have to keep clicking the refresh button untils it works. It will fix it on first try.