-
AuthorPosts
-
munders Friend
munders
- Join date:
- November 2008
- Posts:
- 375
- Downloads:
- 0
- Uploads:
- 37
- Thanks:
- 50
- Thanked:
- 4 times in 1 posts
November 19, 2008 at 8:18 pm #135519Hi all
I need to add a background image to my Teline 2 site.
Does anyone know how to do it?
I want the image to tile across the page behind all modules etc.
Thanks:-[
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
November 20, 2008 at 9:11 am #279747Dear munders,
please open template.css file in templates/ja_teline_ii/css folder, about line 23, find script:
[PHP]body#bd {
color: #333333;
background: #FFFFFF;
}
[/PHP]
and then change to:[PHP]body#bd {
color: #333333;
background:url(path to your image file) #FFFFFF repeat;
}[/PHP]This script is only demo, you can change attributes of background to have nice background.
Hope it helps.
1 user says Thank You to JA Developer for this useful post
munders Friendmunders
- Join date:
- November 2008
- Posts:
- 375
- Downloads:
- 0
- Uploads:
- 37
- Thanks:
- 50
- Thanked:
- 4 times in 1 posts
November 20, 2008 at 10:56 am #279759Didn’t work :((
I duplicated my image into different folders too.
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
November 21, 2008 at 5:01 am #279842Dear munders,
could you please send me your live url ?
munders Friendmunders
- Join date:
- November 2008
- Posts:
- 375
- Downloads:
- 0
- Uploads:
- 37
- Thanks:
- 50
- Thanked:
- 4 times in 1 posts
November 21, 2008 at 11:03 am #279857yes, its converseo. co.uk
rdevereaux Friendrdevereaux
- Join date:
- November 2008
- Posts:
- 37
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 10
- Thanked:
- 1 times in 1 posts
November 21, 2008 at 12:10 pm #279861Munders,
I went to your site. When I pulled up the source and viewed the css file. It was not changed. Did you change it back?
[PHP]
html, body, form, fieldset {
margin: 0;
padding: 0;
}
body {
background: #FFFFFF;
color: #000000;
font-family: Arial, sans-serif;
line-height: 1.5;
}
body#bd {
color: #333333;
background: #FFFFFF;
}[/PHP]The last line of the code that I copied is where you should add the line of code that JA Developer gave you it is located in the template.css
munders Friendmunders
- Join date:
- November 2008
- Posts:
- 375
- Downloads:
- 0
- Uploads:
- 37
- Thanks:
- 50
- Thanked:
- 4 times in 1 posts
November 21, 2008 at 8:50 pm #279897Yes, i changed it back when it didn’t work. I have now changed it to the following:
body#bd {
color: #333333;
background:url(../images.bgbody2.jpg) repeat #FFFFFF;Are there any other CSS files that could override the template one? I do not know why the background is still not showing.
Please help me someone as this is very urgent now.
:((
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
November 22, 2008 at 2:21 am #279912Please change:
body#bd {
color: #333333;
background:url(../images.bgbody2.jpg) repeat #FFFFFF;To
body#bd {
color: #333333;
background:url(../images/bgbody2.jpg) repeat #FFFFFF;questbg Friendquestbg
- Join date:
- May 2008
- Posts:
- 1912
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 146
- Thanked:
- 339 times in 197 posts
November 22, 2008 at 8:18 am #279935That should work now!
Question. Does this tiled background have to be .jpg or .gif or can I use an .swf Flash animation?
Thanks
Chrisquestbg Friendquestbg
- Join date:
- May 2008
- Posts:
- 1912
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 146
- Thanked:
- 339 times in 197 posts
November 22, 2008 at 8:44 am #279936<em>@questbg 91786 wrote:</em><blockquote>That should work now!
</blockquote>Think I spoke too soon. :-[
I just tried this on my own site. I modified the code in the template.css file to:
body#bd {
color: #333333;
background:url(../images/snowflake.gif) repeat #FFFFFF;
}Nothing happened!
(before you ask, yes, I have got snowflake.gif in my /images folder!!) 🙂
Cheers
Chrisquestbg Friendquestbg
- Join date:
- May 2008
- Posts:
- 1912
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 146
- Thanked:
- 339 times in 197 posts
November 22, 2008 at 8:55 am #279937Kind of fixed it! I put the full path name in as follows:
body#bd {
color: #333333;
background:url(http://www.questbg.com/images/snowflake.gif) repeat #FFFFFF;
}and it certainly changed the background:
:laugh: :laugh: :laugh:
Unfortunately, I rather expected this to ‘stop’ where the actual site was and only fill the actual ‘remainder’ of the space either side.
I’ve gone back to the orginal .css file 😀
Ah nothing better than this kind of playing around stuff on a Saturday morning!!
Cheers
Chrismunders Friendmunders
- Join date:
- November 2008
- Posts:
- 375
- Downloads:
- 0
- Uploads:
- 37
- Thanks:
- 50
- Thanked:
- 4 times in 1 posts
November 22, 2008 at 9:44 pm #279972Can anyone help please as I am fed up with this template.
I have tried everything you have previously suggested.
Thank you
mayke Friendmayke
- Join date:
- May 2008
- Posts:
- 281
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 55
- Thanked:
- 13 times in 1 posts
December 5, 2008 at 10:30 am #281403How to add background image without repeated?
Any clue? Thank you.Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
December 8, 2008 at 7:22 am #281717Dear Mayke,
To add background image without repeated, please change following script:
body#bd {
color: #333333;
background:url(http://www.questbg.com/images/snowflake.gif) repeat #FFFFFF;
}
Tobody#bd {
color: #333333;
background:url(http://www.questbg.com/images/snowflake.gif) no-repeat #FFFFFF;
}1 user says Thank You to JA Developer for this useful post
-
AuthorPosts
This topic contains 15 replies, has 5 voices, and was last updated by mayke 15 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum