Answer the question
In order to leave comments, you need to log in
Why does jq stop properly counting scrollTop when setting overflow-x hidden on Body?
Hello. Such a thing. The site has a horizontal scroll in the mobile version, which is unacceptable. When you try to set overflow-x hidden for body, the scroll disappears, but the JQ plugin stops working. As it turned out, after setting this css property, jq ceases to correctly calculate scrollTop. For any scroll, the indicator is 0. That's why the plugin does not work. Why is this and what to do about it?
Answer the question
In order to leave comments, you need to log in
Hello!
1) I strongly recommend that you study the hierarchy of VI templates.
2) For the main page, you need not index.php, but front-page.php (for a static page), and for a dynamic one (your last posts) - blog.php. index.php "takes a hit" when the required templates are not available.
3) functions.php & style.css leave by itself
4)
And if you have to add materials later?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question