I'm using the skinner theme from pixdesign and was wondering how to change the theme background from white to a gif image tiled.
I went to my theme.php and in
Code:
//************************************************************************
//** color code for change of theme background (only inside main table) **
//************************************************************************
$bgcolor20 = "#ffffff"; // color code for theme background (part 1) - background exept sidebar backgrounds
$bgcolor21 = "#ffffff"; // color code for theme background (part 2) - background of left sideblocks (not inside block)
$bgcolor22 = "#ffffff"; // color code for theme background (part 3) - background of right sideblocks (not inside block)
I changed that too
Code:
$bgcolor21 = "themes/theme_name/images/BG.gif\"> "; // color code for theme background (part 2) - background of left sideblocks (not inside block)
$bgcolor22 = "themes/theme_name/images/BG.gif\"> "; // color code for theme background (part 3) - background of right sideblocks (not inside block)
but that didn't seem to work, it jus made a big... "error block" the size of the BG.gif (same spelling/caps as the one on server)
but atleast the "area" size is same size as the gif it looks like
Opps wrong thing...
actually its in
Quote:
//**********************************
// color codes for themeheader **
//**********************************
$bgcolor5 = "#ffffff"; // color code for page background
but trying the above adjustment causes the site background to go a yellowish color, its like its being ignored :/
I've tried copying the line out from themes with a Background image and changing it to the path of my theme image but that dosen't work either
Jerfersor Corporal
Joined: Jun 27, 2003
Posts: 53
Posted:
Thu Jul 03, 2003 11:16 am
i'm not sure (newbie)
but by what i understand bgcolor is for COLORS only not for images...
wot i did in mine was look in into tables and stuff.....
get the name of the file of the background that was there and search for it into the files.... you will see how they are located and where.....
so you can change
sry if i'm wrong but im 98% sure thats it
copterdude Nuke Soldier
Joined: Jun 19, 2003
Posts: 13
Posted:
Thu Jul 03, 2003 11:33 am
I also tried...
Code:
/************************************************************/
/* Function themeheader() */
/************************************************************/
function themeheader() {
global $alttext1, $banners, $bgcolor5, $bgcolor6, $bgcolor7, $bgcolor8, $bgcolor9, $bgcolor20, $bgcolor21;
echo "<body background=\"themes/skinner/images/BG.jpg\" width=\"100%\" bgproperties=\"fixed\" topmargin=\"0\" leftmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">";
."<br>";
if ($banners) {
include("banners.php");
echo "<br>";
}
basically it kills the site doing that kills the site with
Quote:
Parse error: parse error in /home/airems/public_html/themes/skinner/theme.php on line 46
Fatal error: Call to undefined function: themeheader() in /home/airems/public_html/header.php on line 47
copterdude Nuke Soldier
Joined: Jun 19, 2003
Posts: 13
Posted:
Thu Jul 03, 2003 11:34 am
Jerfersor wrote:
i'm not sure (newbie)
but by what i understand bgcolor is for COLORS only not for images...
wot i did in mine was look in into tables and stuff.....
get the name of the file of the background that was there and search for it into the files.... you will see how they are located and where.....
so you can change
sry if i'm wrong but im 98% sure thats it
Skinner theme unfortunantly has no background image, so I cannot look for that within the files to replace with a similar image to change the background "easily" :/
Jerfersor Corporal
Joined: Jun 27, 2003
Posts: 53
Posted:
Thu Jul 03, 2003 1:56 pm
but if you keep on trying to edit the bgcolor your are not going anywhere for sure...
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum