View Full Version : Changing background color...ARGH!
StudioVoxPop
Mar-19-2007, 06:30 PM
Hi there--
I'm having a hell of a time changing the color of my background.
Here's what I have tried in my CSS (dotted lines separate each failed attempt):
body {
background-color: #ADADAD;
}
--------------------------------------------------------------------
body {
background-color: #ADADAD;
body.homepage {background-color: #ADADAD;}
---------------------------------------------------------------
body.homepage {
background-color: #ADADAD;
}
--------------------------------------------------------------------
body {
background-color: #ADADAD;
body.homepage background-color: #ADADAD;}
----------------------------------------------------------------
body {
background-color: #ADADAD !important;
}
---------------------------------------------------------------------
body.homepage {
background-color: #ADADAD !important;
}
What am I missing?
Justin
www.studiovoxpop.smugmug.com (http://www.studiovoxpop.smugmug.com)
Andy
Mar-19-2007, 06:33 PM
What am I missing?
Justin
www.studiovoxpop.smugmug.com (http://www.studiovoxpop.smugmug.com)
Hi, revert your pages to default theme, so you don't have to override the Black Arts theme :)
Allen
Mar-19-2007, 06:35 PM
Hi there--
I'm having a hell of a time changing the color of my background.
Here's what I have tried in my CSS (dotted lines separate each failed attempt):
body {
background-color: #ADADAD;
}
--------------------------------------------------------------------
body {
background-color: #ADADAD;
body.homepage {background-color: #ADADAD;}
---------------------------------------------------------------
body.homepage {
background-color: #ADADAD;
}
--------------------------------------------------------------------
body {
background-color: #ADADAD;
body.homepage background-color: #ADADAD;}
----------------------------------------------------------------
body {
background-color: #ADADAD !important;
}
---------------------------------------------------------------------
body.homepage {
background-color: #ADADAD !important;
}
What am I missing?
Justin
www.studiovoxpop.smugmug.com (http://www.studiovoxpop.smugmug.com) Did ya try this one?:D
body{
background: #ADADAD !important;
}
Best to put at top of your CSS
StudioVoxPop
Mar-19-2007, 06:55 PM
Hi, revert your pages to default theme, so you don't have to override the Black Arts theme :)
Thanks Andy- Reverting to the default theme helped me get the gray background. Yay!
But - (isn't there always a but?) - I have decided that instead of a slideshow I'm going to have one single image on the homepage. I tried to take out all of the slideshow code and I must have taken something away that should have stayed because now my nav bar won't take me to the galleries when I click on it.
What did I do? :dunno
Allen
Mar-19-2007, 07:09 PM
Thanks Andy- Reverting to the default theme helped me get the gray background. Yay!
But - (isn't there always a but?) - I have decided that instead of a slideshow I'm going to have one single image on the homepage. I tried to take out all of the slideshow code and I must have taken something away that should have stayed because now my nav bar won't take me to the galleries when I click on it.
What did I do? :dunno You took the funtion hasPath out of your js. The function is used in your
footer code to define the special "galleries" page.
Put this back in your js.
function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}
StudioVoxPop
Mar-19-2007, 07:11 PM
You took the funtion hasPath out of your js. The function is used in your
footer code to define the special "galleries" page.
Put this back in your js.
function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}
That did it!! Thanks!
Allen
Mar-19-2007, 07:16 PM
That did it!! Thanks!
I also show delHover not defined, were you using that somewhere?
StudioVoxPop
Mar-19-2007, 08:27 PM
I also show delHover not defined, were you using that somewhere?
Ummm....I have no idea what delHover is.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.