Good day does not work anchor if you go to the site immediately with an example - site.ru/#skidka and if I click on it all goes where it should. Tell me what the problem is possible.

  • most likely the problem is // try to remove one - Grundy
  • @Grundy I was wrong here when the message was written litter - Andry
  • Then check the address that you enter and that becomes after you click on the link. - Grundy
  • @Grundy Same. But it still works when you click on the tag only. Turned off Js thought maybe there is a problem in it. The same result is zero landing.alicom.dp.ua/#skidka - Andry
  • one
    You have an element with id = skidka - located at the very top of the page, at the very top of the page and appears on the transition. In this case, the link with the anchor is at the bottom of the page - so it seems that when the link goes and when opened right away - no - Grundy

1 answer 1

The anchor hangs on id , for example, if you go to your website by the link:

http://landing.alicom.dp.ua/#PrincipRaboti

Then everything works great! :)

  • Try skidka :) - Andry
  • You do not have such an id . Take a closer look. - Zicrael
  • @Zicrael, there is the same: <div class="container" id="skidka"> - Grundy
  • Why do your sections normally stand and skidka is a div ? Make it the same as sections and decide everything. - Zicrael