Anchor Tag Error
-
I am getting ready to launch a new website for a client at http://www.new.mchattielaw.com but we’ve noticed a strange error happening with the anchor tags. When I navigate to a page other than the home page (Contact Us for example), and then click on “Clients” in the top navigation, it lands in the wrong spot on the page. This doesn’t happen when you click clients from the home page, and also doesn’t happen for any of the other navigation headers from sub pages. I tried deactivating various plugins to see if that was causing the error, but it didn’t help. Any idea, what might be happening here? Below is the code that I have starting from the “Team” section.
I also had to add a margin to the anchors because they were all originally landing slightly off. With the added margin, they land in a better spot.
Thanks in advance for your help!
<h1 id="our-team"> </br> <h1 style="text-align: center; margin-top: 100px;">Our Team</h1> <p style="text-align: left;">The McHattie Law Firm attorneys’ extensive legal and business experience and love of the law provides clients with friendly, efficient, and effective service. Our former business experience renders us sensitive to our clients’ perspectives, resulting in plain-English lawyering and competitive rates. Our deep legal experience ensures that we provide our clients with value and knowledge. Perhaps most importantly, we truly enjoy the practice of law and helping our clients manage their legal needs. [supsystic-gallery id=1]</p> <div class="row">[smartslider3 slider=16]</div> <h1 id="our-clients"> </br> <h1 style="text-align: center; margin-top: 100px;">Our Clients</h1> [smartslider3 slider=3] <h1 style="text-align: center;">Contact Us</h1>
-
Hi,
I am not able to access your site. Your given url http://www.new.mchattielaw.com/ is displaying the empty site.
Thanks
MohammadHi Mohammad,
Thank you for touching base. I was able to resolve this issue and have launched the website, so the temporary link with “new” is now disabled.
Best,
Karen
The topic ‘Anchor Tag Error’ is closed to new replies.
