Fixed Background… Continued

I’m still trying to “fix” my background image on this site…  I don’t think it’s controlled in the style.css file…  I’ve been trying to modify that to no avail.

BUT, I think I’m getting closer.  I think it’s actually controlled in the functions.php file.  Somewhere in this code:

}
function choco_get_body_style() {
$bg_color = get_option(‘background_color’, ‘#3A2820’);
$bg_image = get_option(‘background_image’);
$bg_repeat = get_option(‘background_repeat’);

$style = ‘background: ‘ . $bg_color;
if ($bg_image) {
$style .= ‘ url(‘ . $bg_image . ‘) center top ‘ . $bg_repeat;
}
$style .= ‘;’;

return $style;
}

Any suggestions?  I’m thinking I need to add “fixed” somewhere near “center top” but can’t quite figure it out!  I didn’t REALLY want to learn PHP…  Or CSS…  But it looks like I might have to!

Leave a Reply