- Posts: 42
- Thank you received: 0
Backround Wallpaper Size
-
acleague
Inactive member - Topic Author
- Member
Less
More
12 years 2 days ago #24256
by acleague
Backround Wallpaper Size was created by acleague
How can i put a backround wallpaper with domensions 1920x1080 without make any error to the template. I use style 1 of Hot Sportal. Thank you !
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 2 days ago #24259
by ivan.milic
Replied by ivan.milic on topic Backround Wallpaper Size
You can just replace this pattern image with your image:
/sportal/templates/hot_sportal/images/bg_1.png
but you say you image is 1920x1080 , I assume some designed graphic. If you want it to cover all page add:
body {
background-size:cover;
}
at bottom of template_css.css
(this will not work in old browsers)
/sportal/templates/hot_sportal/images/bg_1.png
but you say you image is 1920x1080 , I assume some designed graphic. If you want it to cover all page add:
body {
background-size:cover;
}
at bottom of template_css.css
(this will not work in old browsers)
Please Log in to join the conversation.
-
enemy1
Inactive member - New Member
Less
More
- Posts: 12
- Thank you received: 0
12 years 1 day ago #24303
by enemy1
Replied by enemy1 on topic Backround Wallpaper Size
Sorry for intervention, but is it possible to avoid background reapeating when scrolling down the site?
I.e. i'd like a fixed background image that doesn't scroll when i scroll all the text/site.
I've attempted to modify .css without results...
I.e. i'd like a fixed background image that doesn't scroll when i scroll all the text/site.
I've attempted to modify .css without results...
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 1 day ago - 12 years 1 day ago #24308
by ivan.milic
Replied by ivan.milic on topic Backround Wallpaper Size
Yes:
body {
background-size:cover;
background-repeat:no-repeat!important;
}
body {
background-size:cover;
background-repeat:no-repeat!important;
}
Last edit: 12 years 1 day ago by ivan.milic.
The following user(s) said Thank You: enemy1
Please Log in to join the conversation.
Time to create page: 0.175 seconds