Help changing background color.
4 posts
• Page 1 of 1
Help changing background color.
Hello,
I am using a pre-made template that uses CSS. The page has a gradient for a background. You can find the page here, http://jspafford.com
What I would like to do is change all of the white area to a different color. It seems to me the white area is set to white in the CSS file, but I can't seem to find it.
I would like to be able to make it match the grey, or for holidays change it to match the seasons.
Can someone tell me what I need to change to get rid of all the white areas?
Thanks!
- T-Man1984
- Posts: 231
- Joined: Thu Sep 26, 2002 12:27 am
- Location: Ohio
- Real Name: Justin Spafford
Re: Help changing background color.
I didn't look into it much, but it looks like a majority of the background is controlled via body-bg.png and gradient-shadow.png. You also have some unnecessary code on the page in the header section where it's pointing to a non-existent file for most users, and the body background color is specified twice, once in CSS and once in the actual body tag.
- imnuts
- Posts: 7457
- Joined: Wed Mar 24, 2004 5:19 am
- Location: Boothwyn, Pennsylvania
- Real Name: Mark
Re: Help changing background color.
T-Man,
Without seeing the actual stylesheet I could not tell you exactly where it is. However, in looking at the code, here is where you should look contentWrapper. This is the main white box that you are wanting to change and that is where you will find it in the stylesheet. Also, just as a word of security it is not a good idea to import documents from your desktop. Currently, you are importing a stylesheet that is stored in your desktop folder. I would move this to the same directory as your web files.
HTH,
Jason
Without seeing the actual stylesheet I could not tell you exactly where it is. However, in looking at the code, here is where you should look contentWrapper. This is the main white box that you are wanting to change and that is where you will find it in the stylesheet. Also, just as a word of security it is not a good idea to import documents from your desktop. Currently, you are importing a stylesheet that is stored in your desktop folder. I would move this to the same directory as your web files.
HTH,
Jason
- jbullard
- VP - Software
- Posts: 3653
- Joined: Sun Jun 06, 2004 10:17 pm
- Location: Utah
- Real Name: Jason Bullard
Re: Help changing background color.
I was looking for the 'content wrapper' file, but never could find it. Is it physically a file I am looking for?
I will have to check into the css file. I don't think it's possible to be on my desktop. I used to host it with Godaddy, but bought a HP Homeserver and now host it myself. I think I remember changing the css location a while back while editing it, but I can't imagine how it's still actually pointing to the css file.
Thanks
I will have to check into the css file. I don't think it's possible to be on my desktop. I used to host it with Godaddy, but bought a HP Homeserver and now host it myself. I think I remember changing the css location a while back while editing it, but I can't imagine how it's still actually pointing to the css file.
Thanks
- T-Man1984
- Posts: 231
- Joined: Thu Sep 26, 2002 12:27 am
- Location: Ohio
- Real Name: Justin Spafford
4 posts
• Page 1 of 1
Return to HTML, CSS, and Scripts
Who is online
Users browsing this forum: No registered users and 6 guests