Tagged: yigit
-
AuthorPosts
-
January 5, 2015 at 2:00 am #374853
Hello!
I tried to use a Background Image for my areas header, main and socket. I’m not using a footer. At all page where the content is not big enough to fill the whole page the background color is visible. How can i force the areas to stay big enough that this doesn’t happen.
Picture: https://dl.dropboxusercontent.com/u/46363270/Bildschirmfoto%202015-01-05%20um%2000.58.59.png
thx
January 5, 2015 at 7:03 pm #375256Hi schoefa2!
Set your background to transparent and then use this CSS.
body { background: url("URL to your image") !important; background-size: cover !important; }
Cheers!
ElliottJanuary 6, 2015 at 2:24 pm #375676right like this?
/*Body Background*/
.nonfixed_header .header_bg {
opacity: 0;
}
#main, .html_stretched #wrap_all {
background-color: transparent;
}
.socket_color {
background-color: transparent;
}.footer_color {
background-color: transparent;
}body {
body { background: url(“URL to your image”) !important; background-size: cover !important; }January 6, 2015 at 3:38 pm #375706there were two mistakes
one “body {” too much and a “,” at “#main”.
BUT it is not working with mobile devices…some parts are shown with the background color? maybe you can check on a mobile phone.
Daniel
January 6, 2015 at 3:41 pm #375709on the other hand it is not really working right, cause you can see a overlapping at between the socket background image and the background itself.
January 6, 2015 at 10:10 pm #375868Hey!
It looks fine on my end. Take a screenshot and highlight what your seeing.
Best regards,
ElliottJanuary 7, 2015 at 11:18 pm #376527this is how it looks like on mobile device (iphone)
https://dl.dropboxusercontent.com/u/46363270/IMG_8030.PNG
https://dl.dropboxusercontent.com/u/46363270/IMG_8029.PNGthx
January 8, 2015 at 7:38 pm #377036Hi!
It looks fine on the Nexus 7. I don’t have an iPhone to check on so I’ll flag this for the rest of our team to take a look.
Regards,
ElliottJanuary 26, 2015 at 11:01 pm #385915Is there any solution yet?
January 26, 2015 at 11:05 pm #385917This is the code I’m using right now…for beachsummergames.com…something is not working here :-)
.header_color .header_bg{
background-color: transparent;
}
#main .html_stretched #wrap_all {
background-color: transparent;
}
.socket_color {
background-color: transparent;
}
.footer_color {
background-color: transparent;
}
body { background: url(https://dl.dropboxusercontent.com/u/46363270/background.jpg) !important;
background-size: cover !important; }January 27, 2015 at 5:09 am #385985February 20, 2015 at 10:06 pm #399904Thanks! Update didn’t change much!
Still using this code:
.header_color .header_bg{
background-color: transparent;
}
#main .html_stretched #wrap_all {
background-color: transparent;
}
.socket_color {
background-color: transparent;
}
.footer_color {
background-color: transparent;
}
body { background: url(https://dl.dropboxusercontent.com/u/46363270/background.jpg) !important;
background-size: cover !important; }on pages like this: http://www.beachsummergames.com/14-2/ it looks right
if you open the main page it looks like this: https://dl.dropboxusercontent.com/u/46363270/problem.jpgThanks for help!
February 24, 2015 at 10:55 am #401280 -
AuthorPosts
- You must be logged in to reply to this topic.