-
AuthorPosts
-
April 4, 2014 at 12:15 pm #196453
Hi,
Ik want to repeat the background picture of the template.
Can somebody tell me please how to do that?My website http://fathomsalon.nl/
swissa Friendswissa
- Join date:
- November 2011
- Posts:
- 1955
- Downloads:
- 7
- Uploads:
- 277
- Thanks:
- 175
- Thanked:
- 717 times in 572 posts
April 4, 2014 at 12:31 pm #529532With that image it won’t look good if it repeats…
You may be better off fixing it so that the content scrolls over it.
in your /css/colors/movie.css look for this code
add fixed as shown in red
body#bd {
- color: #4F4F4F
- background: url(../../images/movie/body-bg.jpg) no-repeat center top fixed #000000
}
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
April 4, 2014 at 2:33 pm #529543With the Repeat background image you will get an output like this
Is this what you exactly need? If not try the solution suggested by Swissa above
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
April 4, 2014 at 4:48 pm #529562Not sure which image that is you are currently using, but here is the basic method of how to repeat a background image (vertically) – using your site as an example:
Look to file path –> /templates/ja_zinc/css/template.css
at line 539, you will see the following:
#ja-wrapper {
background: url("../images/mainwrap-bg.jpg") no-repeat scroll center bottom rgba(0, 0, 0, 0);
}Modify this rule as follows:
#ja-wrapper {
background: url("../images/mainwrap-bg.jpg") repeat-y scroll center bottom rgba(0, 0, 0, 0);
}For additional information on the CSS repeat-background property –> http://www.w3schools.com/cssref/pr_background-repeat.asp
😎
swissa Friendswissa
- Join date:
- November 2011
- Posts:
- 1955
- Downloads:
- 7
- Uploads:
- 277
- Thanks:
- 175
- Thanked:
- 717 times in 572 posts
April 4, 2014 at 6:15 pm #529569Thanks TomC, thanks Chavan,
Let’s see what sranantube wants to do?
🙂
April 7, 2014 at 11:00 am #529769Hi guys,
Thanks for your replies.
Your options didn’t work at all. I created a new image twice the hight of the Original one. And YES!!!!! It works.
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
April 7, 2014 at 4:26 pm #529816Glad you were able to sort it out.
I assume that the background image you created works for mobile view of your site as well?
All the best with your continuing site development !!! 🙂
-
AuthorPosts
This topic contains 7 replies, has 4 voices, and was last updated by TomC 10 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum