-
AuthorPosts
-
beyondsports Friend
beyondsports
- Join date:
- May 2008
- Posts:
- 304
- Downloads:
- 0
- Uploads:
- 28
- Thanks:
- 4
- Thanked:
- 2 times in 1 posts
September 7, 2008 at 4:25 am #133057i am looking to add a background graphic to the upper part of the webpage…. and have it repeat left to right and stretched verticaly… what would i need to edit to add this.. i also need to make sure the actual background within the webpage stay’s white… see attached graphic for the gradient…
also please note i have put some paddinng on the header at about 35px to bring it down from the top…’
thanks
trey
Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
September 7, 2008 at 5:45 am #269173Is this for the same template as the module positions/footer and menu?
beyondsports Friendbeyondsports
- Join date:
- May 2008
- Posts:
- 304
- Downloads:
- 0
- Uploads:
- 28
- Thanks:
- 4
- Thanked:
- 2 times in 1 posts
September 7, 2008 at 6:45 am #269181yes it is…. if you can point out the code i can edit i will take t from here… i really appreciate the help from you as well…
how is it coming… are you also adding the mod position at the top above the header; so, i can place a secondary menu…again thanks for the help..
trey
beyondsports Friendbeyondsports
- Join date:
- May 2008
- Posts:
- 304
- Downloads:
- 0
- Uploads:
- 28
- Thanks:
- 4
- Thanked:
- 2 times in 1 posts
September 8, 2008 at 3:43 am #269284what do i need to edit to add this to my site??
thanks
treySeptember 8, 2008 at 8:36 am #269444Okay let me try to help you. From my understanding, you want to add some gradient to the body background.
So here is what you need to do
1. Open template.css and find the following code
[PHP]body#bd {color: #515756;
background: #FFFFFF;
{
[/PHP]2. Replace it with the following code
[PHP]body#bd {color: #515756;
background: #FFFFFF;
background: url(../images/bd-bg.gif) repeat-x top #FFFFFF;}[/PHP]
Explaination:
[PHP]background: url(../images/bd-bg.gif) repeat-x top #FFFFFF;[/PHP]
I’ve set the background to the image that I’ve put in templates/Ja_edinite/images which I gave a name of bd-bg. This image will be repeated horizontally and aligned to the top of the page. White background will be added when the page goes beyond the image height.Hope that will help you out.
Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
September 8, 2008 at 8:57 am #269449body#bd {
background:#FFFFFF;
color:#515756;
}
Line 25 in the css file:
Changes to:
body#bd {
background: url(../images/yourimagename) repeat-x top #fff;
color:#515756;
}beyondsports Friendbeyondsports
- Join date:
- May 2008
- Posts:
- 304
- Downloads:
- 0
- Uploads:
- 28
- Thanks:
- 4
- Thanked:
- 2 times in 1 posts
September 8, 2008 at 12:52 pm #269486thanks i appreciate the help
treyAuthorPostsViewing 7 posts - 1 through 7 (of 7 total)This topic contains 7 replies, has 3 voices, and was last updated by beyondsports 16 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
adding a background graphic
Viewing 7 posts - 1 through 7 (of 7 total)