-
AuthorPosts
-
July 17, 2007 at 2:55 am #121453
I’d like to change the background to a gradient image., but I don’t know exactly where to put the code. Can anyone help…please:confused:
instantinlaw Friend
instantinlaw
- Join date:
- February 2007
- Posts:
- 1646
- Downloads:
- 6
- Uploads:
- 28
- Thanks:
- 68
- Thanked:
- 210 times in 62 posts
July 17, 2007 at 4:47 am #224354Make a gradient image, name it gradient, upload it to your templates/ja_spica/images folder, open template_css.css and change
body#bd {
text-align: center;
background: #444444;
color: #FAFCF4;
}
to
body#bd {
text-align: center;
color: #FAFCF4;
background-color: #444444;
background-image: url(../images/gradient.jpg);
background-repeat: repeat-x;
}
Good luckJuly 17, 2007 at 1:24 pm #224397Thanks so much for the help. The gradient image now appears in the background, but it won’t repeat. Here’s the code i added
}
body#bd {
text-align: center;
color: #FAFCF4;
background-color: #326d83;
background-image: url(http://mysite.com/xx/templates/ja_spica/images/gradient.jpg);
background-repeat: repeat-x;}
Menalto Friend
Menalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
July 17, 2007 at 2:08 pm #224400Try with this code:
body#bd {
text-align: center;
color: #FAFCF4;
background: #326d83 url(../images/gradient.jpg) repeat-x;
}And change gradient.jpg with your picturename.
instantinlaw Friend
instantinlaw
- Join date:
- February 2007
- Posts:
- 1646
- Downloads:
- 6
- Uploads:
- 28
- Thanks:
- 68
- Thanked:
- 210 times in 62 posts
July 17, 2007 at 5:17 pm #224417cak;21173Thanks so much for the help. The gradient image now appears in the background, but it won’t repeat. Here’s the code i added
}
body#bd {
text-align: center;
color: #FAFCF4;
background-color: #326d83;
background-image: url(http://mysite.com/xx/templates/ja_spica/images/gradient.jpg);
background-repeat: repeat-x;}
Youe path should be relevant, not full. I.e. (../images/gradient.jpg) not (http://mysite.com/xx/templates/ja_sp…gradient.jpg);
-
AuthorPosts
This topic contains 6 replies, has 3 voices, and was last updated by cak 17 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum