Your cart is currently empty!
Homepage › Community Forums › SquareOne Theme Support › BG Images on Mobile
Hi There,
So I added this code:
head-bg,
.home-feature-1,
.home-feature-2,
.home-feature-3,
.home-feature-4,
.home-feature-5,
.home-feature-6,
.home-feature-7 {
-moz-background-size: auto;
-webkit-background-size: auto;
background-attachment: scroll;
background-position: top;
background-size: auto;
}
Under this section:
@media only screen and (max-width: 480px) {
But still not seeing any changes on mobile devices. Was there something else I was supposed to delete?
Thanks,
-Dan
Do you have a link to your site so I can see what’s going on?
I couldn’t get your site to load for some reason. Is it still up?
Yeah it’s still up, let me know if it’s still now working. Thanks.
Yeah, just checked my iPhone again and it still looks terrible when I look at it horizontally.
Ok to fix this all you would need to do is move it up to the next responsive section (just move it up one). Right now it’s in the 480 width. Try moving it up to either 767 or you can add your own media query width if you want. For example, add this right before the 480 section –
@media only screen and (max-width: 640px) {
.head-bg,
.home-feature-1,
.home-feature-2,
.home-feature-3,
.home-feature-4,
.home-feature-5,
.home-feature-6,
.home-feature-7,
.footer-widgets {
background-attachment: scroll !important;
-webkit-background-size: cover !important;
-moz-background-size: cover !important;
-o-background-size: cover !important;
background-size: cover !important;
background-repeat: no-repeat !important;
}
}
You can change that number to whatever size you want.
Also, I noticed that your footer widgets section isn’t included on there so I added it to the code –
.head-bg,
.home-feature-1,
.home-feature-2,
.home-feature-3,
.home-feature-4,
.home-feature-5,
.home-feature-6,
.home-feature-7,
.footer-widgets {
background-attachment: scroll !important;
-webkit-background-size: cover !important;
-moz-background-size: cover !important;
-o-background-size: cover !important;
background-size: cover !important;
background-repeat: no-repeat !important;
}
This looks great so far 馃檪 Keep up the good work! Be sure and add it to the showcase whenever you’re done – https://appfinite.com/showcase-your-site
Let me know once you make those adjustments and I’ll check on my phone to see how it looks.
Ok great thanks! Just added the code, looks much better. Will check it out on the iPad as well and let you know.
You’re Welcome!
Ok so it looks good on the iPhone but for some reason I’m just getting blurred images on the iPad. Are you able to see the site on a tablet?
I don’t have one with me at the moment, but I can borrow one to check.
Until then, you could probably trying moving it up to the iPad/tablet section of your Responsive code and then reload the page on your iPad to see what it looks like.
Is this happening on Portrait or Landscape? Or both?
BTW your site is looking REALLY good so far! Whenever you’re done setting everything up be sure and add it to the showcase – https://appfinite.com/showcase-your-site
It’s just happening on Landscape. I’ll try moving it up to the iPad/tablet section. Will definitely add it to the showcase once I’m done, thanks!
I just checked and it appears to be happening in both landscape and portrait mode. The images are showing up blurry.
Let me know once you add that code in.
If you want me to add it in for you I can since it won’t take too long. Just create a temporary user/password if you’re interested.
Ok I added in the code but it changed the look of the desktop as well as the tablet. Is there a way to change one without affecting the other? Looks like the desktop and tablet landscape view is grouped into one under CSS.
It looks fine to me. I just checked on a desktop and an iPhone. Is it still not looking right, or did you get it fixed?