View Full Version : This is the code I'm using to try and put a gradient background on my home page
Doesn't appear to be working. Operator error I'm sure. Could somebody take a look? Thx
/*=====Body=====*/
body {background-color: #000000;}
body
{background-image:
url('http://msabatini.com/photos/69681675-blk-blu/690269776_6nto7-X3.jpg');
background-repeat:no-repeat !important;
background-position:top center !important;}
jfriend
Oct-23-2009, 04:09 PM
The carbonite theme is very difficult to customize.
You can make the homepage work by changing this CSS:
/*=====Body=====*/
body {background-color: #000000;}
body
{background-image:
url('http://msabatini.com/photos/69681675-blk-blu/690269776_6nto7-X3.jpg');
background-repeat:no-repeat !important;
background-position:top center !important;}
to this:
/*=====Body=====*/
body {
background-color: #000000 !important;
background-repeat: repeat-x !important;
background-image: url('http://msabatini.com/photos/69681675-blk-blu/690269776_6nto7-X3.jpg') !important;
background-position: left top !important;
}
.homepage #extraDiv2, .homepage #extraDiv1 {display:none;}
If you want this change to apply everywhere on your site and you are using carbonite everywhere, then remove the parts in red. If you are using different themes elsewhere, then the customization might need to be different for different themes.
The carbonite theme is very difficult to customize.
You can make the homepage work by changing this CSS:
/*=====Body=====*/
body {background-color: #000000;}
body
{background-image:
url('http://msabatini.com/photos/69681675-blk-blu/690269776_6nto7-X3.jpg');
background-repeat:no-repeat !important;
background-position:top center !important;}
to this:
/*=====Body=====*/
body {
background-color: #000000 !important;
background-repeat: repeat-x !important;
background-image: url('http://msabatini.com/photos/69681675-blk-blu/690269776_6nto7-X3.jpg') !important;
background-position: left top !important;
}
.homepage #extraDiv2, .homepage #extraDiv1 {display:none;}
If you want this change to apply everywhere on your site and you are using carbonite everywhere, then remove the parts in red. If you are using different themes elsewhere, then the customization might need to be different for different themes.
Thx John, I appreciate it. As for the Carbonite theme, I don't need it, it just happened to be the last one I was playing with. Would it be better to change it in consideration for future customizing?
jfriend
Oct-23-2009, 04:33 PM
Thx John, I appreciate it. As for the Carbonite theme, I don't need it, it just happened to be the last one I was playing with. Would it be better to change it in consideration for future customizing? If you don't need it, switch to something else. It uses some advanced techniques which are hard to override in your own customization.
If you don't need it, switch to something else. It uses some advanced techniques which are hard to override in your own customization.
Will do. Thx.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.