P
P
pixal2017-10-07 08:58:18
css
pixal, 2017-10-07 08:58:18

How can I improve the responsiveness of this template?

Hello! Please tell me how to fix the adaptability of the template? It adapts only after page reload. And how to make the slider image also adapt to the screen, and not be cut off on the smartphone?
The template is here dev.pavira.ru/mens/index.html

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
maxfox, 2017-10-07
@maxfox

Use less JS and more CSS. Well, if something is done using JS, then monitor the window resize and recalculate everything again.
In general, there JS should only hang classes on clicks, the rest should be on CSS.
The image cannot be cropped - it does not fit the format, try to put background-size: containit and see. But it can be positioned correctly.

E
Eugene, 2017-10-08
@eGenius18

but in no way) if such a question arose - then either hire a person - who will edit / rewrite the topic ... or change the topic - because adaptability is crookedly implemented there

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question