Clan Adverts

www.afgserv.com

www.clan-themes.co.uk :: View topic - Embed image as background for site?

 Welcome To Clan Themes 

As the board grows please remember the Search Option and we hope you find our community useful.

We also monitor Private Messages to stop members from abusing our sites system.
If you are asking for assistance please provide your site link and nuke version, Thanks.

Embed image as background for site?
Goto page 1, 2, 3  Next

24 Replies / 1881 Views


Post new topic   Reply to topic  

   www.clan-themes.co.uk Forum Index » How To's

View previous topic :: View next topic


-FD-TRIGGER
Reputation: 0.3
Local time: 5:12 PM
Location: IDAHO

Status: Offline
0.01 posts per day
Medals: 0

Joined: Apr 14, 2008
Last Visit: 25 Apr 2008
Posts: 2
Points: 250 

Post Embed image as background for site? Posted: Tue Apr 22, 2008 8:02 pm   

alright guys, if you can help me with this one, it would be great. basically what i am trying to do is embed a regular .jpg as a background on my site. i would like for it to set in the back on my main page, and any other page if possible. thanks guys. i look forward to hearing from you.
 

 
View user's profileSend private message Reply with quote

StevieH
Reputation: 522.8
votes: 2
Local time: 10:12 PM

uk.gif

Status: Offline
0.21 posts per day
Medals: 2 (View more...)
Dedication (Amount: 1)
Site Helper
Site Helper
Joined: Mar 19, 2007
Last Visit: 29 Nov 2008
Posts: 131
Points: 443 

Post Embed image as background for site? Posted: Tue Apr 22, 2008 8:22 pm   

Shop Purchases:
Battlefield 2 Theme (Aviator V2) · Battlefield 2142 (Aviator v2) · Arnhem Multi Gaming Theme · Call of Duty 4 Ultimate Theme · Multi Gaming (Warrior) Theme · Topsites Manager V1 PhpNuke Module · Clan Roster v1.7 Php Nuke Module · Frontlines Fuel Of War Theme · Anzio Multi Gaming Theme · Anzio Multi Gaming Theme

First of all we need to know what you are using on your site ie Nuke platinum nuke ect then what theme your using. If you are using Nuke or simaler then its easy enough to do, you will need to go into the theme folder and goto currnet theme set for site and look for your style sheet or theme.php REMEBER WHEN EDITING ANY FILE BE SURE TO MAKE A BACK UP FIRST!! you will need to have a look around for background. If its just set to a color and not using any image as background then just add the code for an image.
Post back if your stuck :)
 

 
View user's profileSend private messageVisit poster's websiteMSN Messenger Reply with quote

-FD-TRIGGER
Reputation: 0.3
Local time: 5:12 PM
Location: IDAHO

Status: Offline
0.01 posts per day
Medals: 0

Joined: Apr 14, 2008
Last Visit: 25 Apr 2008
Posts: 2
Points: 250 

Post Embed image as background for site? Posted: Fri Apr 25, 2008 1:48 am   

thanks, ill give it a try..
 

 
View user's profileSend private message Reply with quote




amishllama
Reputation: 0.3
Local time: 5:12 PM


Status: Offline
0.01 posts per day
Medals: 0

Joined: Mar 22, 2008
Last Visit: 05 Jun 2008
Posts: 3
Points: 250 

Post Embed image as background for site? Posted: Wed May 07, 2008 2:44 pm   

Shop Purchases:
WOW Wrath Of The Lich King Theme

ah just what I was looking for ty
 

 
View user's profileSend private message Reply with quote

nighthawkwnc
Reputation: 475.4
Local time: 8:12 AM

usa.gif

Status: Offline
0.05 posts per day
Medals: 0

Joined: Mar 07, 2007
Last Visit: 04 Nov 2008
Posts: 33
Points: 477 

Post Embed image as background for site? Posted: Fri Oct 03, 2008 1:33 am   

Shop Purchases:
BF2124 Splash Screen · Clan Roster v1.7 Php Nuke Module

hello im interested in this aswell have raven nuke site and my theme has no backgroud image its just black color i think
here is what my theme.php file says.

Edited out the theme.php and style.css, we dont really need to see it, alternativly you can just attach the 2 files in a zip folder

Ped



so where could i put a image to be behind everything else?
 

 
View user's profileSend private messageVisit poster's website Reply with quote

DreAdeDcoRpSE
Reputation: 738.9
votes: 5
Local time: 5:12 PM
Location: Back of your Mind
usa.gif

Status: Offline
1.13 posts per day
Medals: 2 (View more...)
Site Supporter (Amount: 1)
Forums Moderator
Forums Moderator
Joined: Sep 22, 2007
Last Visit: 04 Dec 2008
Posts: 497
Points: 11478 

Post Re: Embed image as background for site? Posted: Fri Oct 03, 2008 2:43 am   

Shop Purchases:
Enemy Territory Theme (Aviator) for PHP Nuke · Clan Roster 2.0

I am guessing, since I havent tried this yet, but in your themes.php

where you see

Code:
echo "<body  bgcolor=\"#000000\" text=\"#FFD823\" link=\"#363636\" vlink=\"#363636\" alink=\"#d5ae83\">";


change it to

Code:
echo "<body background="IMAGE URL HERE" bgcolor=\"#000000\" text=\"#FFD823\" link=\"#363636\" vlink=\"#363636\" alink=\"#d5ae83\">";


You can remove the bgcolor, but it should display the image over the color. Be sure to put the URL of the image where it says IMAGE URL HERE.
 

  • Donations for custom work is appreciated at [HS]
 
View user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger Reply with quote


Ped
Reputation: 337.1
votes: 17
Local time: 11:12 PM
Location: Great British Empire
uk.gif

Status: Offline
2.35 posts per day
Medals: 2 (View more...)
Dedicated User (Amount: 1)
Clan Themes Theme Guru
Clan Themes Theme Guru
Joined: Nov 13, 2006
Last Visit: 04 Dec 2008
Posts: 1766
Points: 15787 

Post Embed image as background for site? Posted: Fri Oct 03, 2008 5:55 am   

You can do it like this as well, its called in line CSS

To a table

Code:
<table style="background-image:themes/COD4/images/header_02.jpg; background-repeat:no-repeat; background-color:#000000">


To a table data cell

Code:
<td style="background-image:themes/COD4/images/header_02.jpg; background-repeat:no-repeat; background-color:#000000">


To the entire page

Code:
<body style="background-image:themes/COD4/images/header_02.jpg; background-repeat:no-repeat; background-color:#000000">


Remember with the body tag you will need to close it in the footer, so open it at the top of your header file, and close it at the end of your footer... Ideally we should be putting the body style into the CSS sheet

Have fun !!
 

 
View user's profileSend private messageSend e-mailVisit poster's website Reply with quote

nighthawkwnc
Reputation: 475.4
Local time: 8:12 AM

usa.gif

Status: Offline
0.05 posts per day
Medals: 0

Joined: Mar 07, 2007
Last Visit: 04 Nov 2008
Posts: 33
Points: 477 

Post Re: Embed image as background for site? Posted: Fri Oct 03, 2008 7:04 am   

Shop Purchases:
BF2124 Splash Screen · Clan Roster v1.7 Php Nuke Module

cool thanks
 

 
View user's profileSend private messageVisit poster's website Reply with quote

nighthawkwnc
Reputation: 475.4
Local time: 8:12 AM

usa.gif

Status: Offline
0.05 posts per day
Medals: 0

Joined: Mar 07, 2007
Last Visit: 04 Nov 2008
Posts: 33
Points: 477 

Post Embed image as background for site? Posted: Fri Oct 10, 2008 12:45 am   

Shop Purchases:
BF2124 Splash Screen · Clan Roster v1.7 Php Nuke Module

hey all still cant get it to work i have added 3 files to my theme the style.css file the theme.php and tables.php
i really want to add background images to site but not as tiles or have theme repeat any help would be appreciated

mygw.rar
 Description:

Download
 Filename:  mygw.rar
 Filesize:  3.64 KB
 Downloaded:  3 Time(s)

 

 
View user's profileSend private messageVisit poster's website Reply with quote


DreAdeDcoRpSE
Reputation: 738.9
votes: 5
Local time: 5:12 PM
Location: Back of your Mind
usa.gif

Status: Offline
1.13 posts per day
Medals: 2 (View more...)
Site Supporter (Amount: 1)
Forums Moderator
Forums Moderator
Joined: Sep 22, 2007
Last Visit: 04 Dec 2008
Posts: 497
Points: 11478 

Post Re: Embed image as background for site? Posted: Fri Oct 10, 2008 1:04 am   

Shop Purchases:
Enemy Territory Theme (Aviator) for PHP Nuke · Clan Roster 2.0

nighthawkwnc wrote:
hey all still cant get it to work i have added 3 files to my theme the style.css file the theme.php and tables.php
i really want to add background images to site but not as tiles or have theme repeat any help would be appreciated


I downloaded the files to edit, but there is a problem I am running into. Whats the URL for the background image?¿?
 

 
View user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger Reply with quote

nighthawkwnc
Reputation: 475.4
Local time: 8:12 AM

usa.gif

Status: Offline
0.05 posts per day
Medals: 0

Joined: Mar 07, 2007
Last Visit: 04 Nov 2008
Posts: 33
Points: 477