add a background image

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Ideas Centre
Locked
go99live
Registered User
Posts: 206
Joined: Mon May 01, 2006 7:18 pm
Contact:

add a background image

Post by go99live » Wed Mar 24, 2010 6:38 pm

How do i add a background image to the prosilver template??

I tried adding the below code to the common.css body

Code: Select all

background-image:url('http://www.url.com/board/images/bg.jpg');

but it doesn't seem to be working

User avatar
Christian 2.0
Former Team Member
Posts: 4509
Joined: Wed Nov 04, 2009 11:16 pm
Location: UK
Name: Christian
Contact:

Re: add a background image

Post by Christian 2.0 » Wed Mar 24, 2010 7:09 pm

Add it to the html, body { class in colours.css . Then refresh your theme cache:
Admin Panel -> Styles Tab -> Style Components -> Themes -> Prosilver -> Refresh

R1cky Da Man
Registered User
Posts: 18
Joined: Fri Feb 17, 2012 10:03 am

Re: add a background image

Post by R1cky Da Man » Fri Feb 17, 2012 5:22 pm

Im having a similar problem but simply putting the code into colours.css and refreshing in admin panel didnt solve it...

Code: Select all

 background-image:url('r1ckydaman.net23.net/phpBB3/images/battlefield_3-bg-image.jpg');
background-repeat:no-repeat;
background-attachment:fixed;
background-position:center;
That is what I added and put the image in the location listed then refreshed the theme but the bg image still dosnt show.......

User avatar
pit-PL
Registered User
Posts: 3086
Joined: Sat Nov 21, 2009 12:24 pm

Re: add a background image

Post by pit-PL » Fri Feb 17, 2012 5:28 pm

Change
background-image:url('r1ckydaman.net23.net/phpBB3/images/battlefield_3-bg-image.jpg');
to

Code: Select all

background-image:url('http://www.r1ckydaman.net23.net/phpBB3/images/battlefield_3-bg-image.jpg');

R1cky Da Man
Registered User
Posts: 18
Joined: Fri Feb 17, 2012 10:03 am

Re: add a background image

Post by R1cky Da Man » Fri Feb 17, 2012 5:37 pm

solved it thanks

Locked

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