I
I
Ilia Malashko2020-07-09 13:27:00
css
Ilia Malashko, 2020-07-09 13:27:00

Why won't the background image open on iphone?

Hello.

We filed the landing page https://pizhamy.wisell.ru/ against the background of the installed image in .jpg format using css backgraund-image, for mobile the image was compressed to 11 kb.

On Android, everything loads as it should: on the iPhone 5f06f083370a3695253720.png,
the background does not load: 5f06f0a0853ee482986707.jpeg

I have no options for what could be the problem.
Help.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Kirill Nikitin, 2020-07-09
@miv-men

I suspect the problem is in a property background-attachment: fixed;that iOS doesn't support. Apparently, you need to remove it through JS when viewing on the iPhone, or refuse it altogether.

N
Nikita Shinkevich, 2020-07-09
@domres

My desktop adblocker blocked it too. The extension is jpg, and the download went to webp ... what kind of mess?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question