how can i add a background/boarder thing

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Ideas Centre
Locked
adamjg
Registered User
Posts: 9
Joined: Fri May 09, 2008 4:33 pm

how can i add a background/boarder thing

Post by adamjg » Mon May 12, 2008 3:38 pm

how can i change my forum skin so...

from this:

Image

i can change it into this:

Image

with like a 5px border before the black bit

thanks, Adam.

User avatar
Raimon
Former Team Member
Posts: 12088
Joined: Tue May 30, 2006 5:31 pm
Location: Netherlands
Name: Raimon Meuldijk
Contact:

Re: how can i add a background/boarder thing

Post by Raimon » Mon May 12, 2008 7:01 pm

Need phpBB installation, extenstions, Styles or integrate phpBB with you website?
Contact me for fair prices and good service!

adamjg
Registered User
Posts: 9
Joined: Fri May 09, 2008 4:33 pm

Re: how can i add a background/boarder thing

Post by adamjg » Mon May 12, 2008 9:32 pm

hmm ill do that if there isnt anything else

but thats for all the way around the board i think.. and i only want the 2 sides.

anyone else got anything?

thanks tho,

adam.

User avatar
Raimon
Former Team Member
Posts: 12088
Joined: Tue May 30, 2006 5:31 pm
Location: Netherlands
Name: Raimon Meuldijk
Contact:

Re: how can i add a background/boarder thing

Post by Raimon » Mon May 12, 2008 10:29 pm

I though the link i give you, give you some inspiration ^_^

But this would to the thing.

open styles/prosilver/theme/stylesheet.css

search:

Code: Select all

@import url("colours.css");
after add:

Code: Select all

@import url("border.css");
create a new css file and call it ; border.css
add the next thing to the file:

Code: Select all

/*
* Border stylesheet for a border
* 
*/

    html, body {
       color: #536482;
       background-color: #000000;   
    }
       

    .top {
       margin-top: -20px; 
     }
       

    .bottom {
	   margin-bottom: -20px;
       }

    .forumcontent {
       background: #FFFFFF;           
       color: #536482;               
       margin-left: 15px;  
       margin-right: 15px; 
       }
       
    .border {
       margin: 0px auto;
    }

open: styles/prosilver/template/overall_header.html

search:

Code: Select all

<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}">
after add:

Code: Select all

<div class="border">
  <div class="top"></div>
      <div class="forumcontent">
open: styles/prosilver/template/overall_footer.html

search:

Code: Select all

<!-- IF not S_IS_BOT -->{RUN_CRON_TASK}<!-- ENDIF -->
</div>
after add:

Code: Select all

</div>
      </div>
   <div class="bottom"></div>
after you done that refresh your theme and prune the cache into your administration panel :)
Need phpBB installation, extenstions, Styles or integrate phpBB with you website?
Contact me for fair prices and good service!

adamjg
Registered User
Posts: 9
Joined: Fri May 09, 2008 4:33 pm

Re: how can i add a background/boarder thing

Post by adamjg » Tue May 13, 2008 3:20 pm

ok i done it

it looksl ike this

Image

how can i made it so its a bit more closer the the board?

thanks alot for the help :D

User avatar
camm15h
Former Team Member
Posts: 4981
Joined: Wed Jul 30, 2003 1:02 am
Location: Hull, UK
Name: Paul Cammish

Re: how can i add a background/boarder thing

Post by camm15h » Tue May 13, 2008 3:32 pm

Code: Select all

    .forumcontent {
       background: #FFFFFF;           
       color: #536482;               
       margin-left: 15px;  
       margin-right: 15px; 
       }
Alter that bit - self explanatory really. ;)

adamjg
Registered User
Posts: 9
Joined: Fri May 09, 2008 4:33 pm

Re: how can i add a background/boarder thing

Post by adamjg » Tue May 13, 2008 3:39 pm

yeh i changed that but it just makes the whole board smaller and the bit white bit is still there between them both.. :S

Fn-Mi
Registered User
Posts: 70
Joined: Fri Oct 05, 2007 11:14 am

Re: how can i add a background/boarder thing

Post by Fn-Mi » Tue May 13, 2008 8:03 pm

men i like your style so much!!!

are you made them for download or for personal use???

:P

salutes!!!

adamjg
Registered User
Posts: 9
Joined: Fri May 09, 2008 4:33 pm

Re: how can i add a background/boarder thing

Post by adamjg » Tue May 13, 2008 8:22 pm

well i made it for my website.

its not done yet but i might post it on here when im done.

im glad u like it :D

User avatar
prototech
Former Team Member
Posts: 5406
Joined: Mon Mar 19, 2007 2:04 pm
Location: Southern California

Re: how can i add a background/boarder thing

Post by prototech » Wed May 14, 2008 12:18 am

adamjg wrote:yeh i changed that but it just makes the whole board smaller and the bit white bit is still there between them both.. :S
Decrease margin-left and margin-right to something like 5px.
Need help with MOD/style installations or other phpBB problems? Contact me for a quote.

Fn-Mi
Registered User
Posts: 70
Joined: Fri Oct 05, 2007 11:14 am

Re: how can i add a background/boarder thing

Post by Fn-Mi » Wed May 14, 2008 4:00 am

adamjg wrote:well i made it for my website.

its not done yet but i might post it on here when im done.

im glad u like it :D

great men!!!

i'll been waiting for this release

thanks men!!!

salutes and keep working :D

Locked

Return to “[3.0.x] Styles Support & Discussion”