Blurred Background Image On Mobile - Question | JoomShaper

Blurred Background Image On Mobile

CH

Christian Haselsberger

Template 1 year ago

Dear team, I have a problem on one of my websites. Unfortunately, the background image of the page is blurred on the mobile view. No matter which image I use. It is sharp on the desktop, but not on mobile... what could be the reason? Many thanks for your help! Christian www.edelweiss-soell.at

0
8 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #157201

If you (or site owner) has Desktop Screen resolution bigger than 1920px I suggest using also that Custom CSS:

@media screen and (min-width: 1919px) {
body.site {background-size: cover; }
}
0
CH
Christian Haselsberger
Accepted Answer
1 year ago #157203

Great - thank you so much for that help!!!! works :-)

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #157204

We are glad to hear from you, if you have a moment add a rating on JED.

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 1 year ago #157193

Hi

Thanks for contacting us. Could you please give me a screenshot of it?

-Regards.

0
CH
Christian Haselsberger
Accepted Answer
1 year ago #157195

Hi! of course. https://snipboard.io/NdQ719.jpg

Thank you!

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #157196

Hi Christian ,

It's problem with Safari (iPhone) and CSS --- long story - since iPhone 1, also WP & Drupal webmasters has that same problem ;p

In general - Iphone browsers (all) do not like when those two settings are used together

background-cover-fixed.png

Set Background Attachment "Scroll" not "Fixed" as is probably now, Save, and should be better.

0
CH
Christian Haselsberger
Accepted Answer
1 year ago #157198

Thank you Paul. Okay. I tried... But now also on desktop view the image is blurred.... :/

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #157200

Now when I know that you used that BG image for whole site, it's much easier to fix it:

  1. Set background-attachment: fixed (again, as it was)
  2. Set background-size: auto or inherit or remove value that you set there (empty).
  3. Use also that Custom CSS (it's for Google & Accessibility Tester):

body.site {background-color: black;}

0