A
A
Anto2017-08-17 22:44:21
1C-Bitrix
Anto, 2017-08-17 22:44:21

How to set up fast loading styles?

Good afternoon!
On the site I use the infinitecarousel3 slider in the detailed product card, when the page is opened, the incorrect display of styles briefly slips, that is, the photo is larger, but then everything falls into place. I tried to enable CSS optimization, added styles and js to the header, added to the component, did not bring any result, tell me what can be done so that they connect immediately and display correctly.
ResizeImageGet works for photos.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Emelyanov, 2017-08-18
@babarun

Hang slider initialization on onload of the whole page, not $(document).ready

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question