..... I removed this because it was unclear, read edit......
This is the code.
<a href="index.html#about"style="color:black;">About</a>
In short: This code is used for 2 pages of website. 1 is working, but another does not work.
EDIT:
http://karolisweb.com/totochemical/index.html this is the link of website. It's hard to understand as it is not in english language, but I will try to explain. When you are in the main page every menu link works. I am using <a href="#divName">
in this page. Then, if you press first menu link (Naujienos) also links are working and this time I am using <a href="index.html#divName">
Everything is just fine, but when you go on other page (click on red hamburger and random dropdown link) this code is not working. I am trying to use same <a href="index.html#divName">
How do I make these links from another pages to work when the ID is already ued in other page?