Link to home
Start Free TrialLog in
Avatar of nsitedesigns
nsitedesignsFlag for United States of America

asked on

anchor links not working in wordpress

I added anchor links to a beta site in wordpress.  I added them directly to the code, not using a plug-in. They sorta work.  Rather than taking you down to the SUBHEADER of the section you are jumping to you go right to the TEXT . You BYPASS the subheader.  I tested code in dreamweaver and it works fine.  Any ideas on how to fix?
 Our construction process at Landmark Landscape  is focused on building the yard of your dreams! Our landscape construction services help you unlock the true potential of your outdoor space as an expression of your unique style and taste. Patio Living Areas Outdoor Kitchens and Fireplaces Retaining and Seat Walls Arbors and Pergolas Ponds and Water Gardens Pondless Waterfalls Electrical Service Plumbing and Water Lines Grading for Topography Drain Tiling Utility Coordination
Patio Living Areas
Our craftsman transform clay brick, natural stone, and pavers into patios for entertaining friends and family, grills for cooking, fireplaces gathering, garden walls for terraces and privacy. 
Outdoor Kitchens and Fireplaces
Insert text here. Insert text here.Insert text here. Insert text here.Insert text here. Insert text here.Insert text here. Insert text here.Insert text here. Insert text here.
Retaining and Seat Walls
Insert text here. Insert text here.Insert text here. Insert text here.Insert text here. Insert text here.Insert text here. Insert text here.Insert text here. Insert text here.
Arbors and Pergolas
Lumber and reclaimed timber become pergolas and arbors to create shade and provide a sense of enclosure.
Ponds and Water Gardens
Piles of granite boulders are transformed into babbling brooks, cascading waterfalls and tranquil water gardens. 
Pondless Waterfalls
Insert text here. Insert text here.Insert text here. Insert text here.Insert text here. Insert text here.Insert text here. Insert text here.Insert text here. Insert text here.
Electrical Service
Insert text here. Insert text here.Insert text here. Insert text here.Insert text here. Insert text here.Insert text here. Insert text here.Insert text here. Insert text here.
Plumbing and Water Lines
Water efficient irrigation systems, keep your property looking beautiful all growing season long.
Grading for Topography
Insert text here. Insert text here.Insert text here. Insert text here.Insert text here. Insert text here.Insert text here. Insert text here.Insert text here. Insert text here.
Drain Tiling
Mounds of soil are sculpted to create berms for privacy and swales for drainage. 
Utility Coordination
Insert text here. Insert text here.Insert text here. Insert text here.Insert text here. Insert text here.Insert text here. Insert text here.Insert text here. Insert text here. Contact us for more information. 

Open in new window

Avatar of Jason C. Levine
Jason C. Levine
Flag of United States of America image

I don't see any anchors in the code snippet?
Avatar of nsitedesigns

ASKER

oops.  try this
<a href="#patio">Patio Living Areas</a>
<a href="#outdoor">Outdoor Kitchens and Fireplaces</a>
<a href="#retaining">Retaining and Seat Walls</a>
<a href="#arbors">Arbors and Pergolas</a>
<a href="#ponds">Ponds and Water Gardens</a>
<a href="#pondless">Pondless Waterfalls</a>
<a href="#electrical">Electrical Service</a>
<a href="#plumbing">Plumbing and Water Lines</a>
<a href="#grading">Grading for Topography</a>
<a href="#drain">Drain Tiling</a>
<a href="#utility">Utility Coordination</a>
<h2><a id="patio"></a>Patio Living Areas</h2>
<span style="color: #000000;">Our craftsman transform clay brick, natural stone, and pavers into patios for entertaining friends and family, grills for cooking, fireplaces gathering, garden walls for terraces and privacy. </span>
<h2><a id="outdoor"></a>Outdoor Kitchens and Fireplaces</h2>
<span class="Apple-style-span" style="color: #ff0000;">Insert text here. Insert text here.Insert text here. Insert text here.Insert text here. Insert text here.Insert text here. Insert text here.Insert text here. Insert text here.</span>
<h2><a id="retaining"></a>Retaining and Seat Walls</h2>
<span class="Apple-style-span" style="color: #ff0000;">Insert text here. Insert text here.Insert text here. Insert text here.Insert text here. Insert text here.Insert text here. Insert text here.Insert text here. Insert text here.</span>
<h2><a id="arbors"></a>Arbors and Pergolas</h2>
Lumber and reclaimed timber become pergolas and arbors to create shade and provide a sense of enclosure.
<h2><a id="ponds"></a>Ponds and Water Gardens</h2>
<span style="color: #000000;">Piles of granite boulders are transformed into babbling brooks, cascading waterfalls and tranquil water gardens. </span>
<h2><a id="pondless"></a>Pondless Waterfalls</h2>
<span class="Apple-style-span" style="color: #ff0000;">Insert text here. Insert text here.Insert text here. Insert text here.Insert text here. Insert text here.Insert text here. Insert text here.Insert text here. Insert text here.</span>
<h2><a id="electrical"></a>Electrical Service</h2>
<span class="Apple-style-span" style="color: #ff0000;">Insert text here. Insert text here.Insert text here. Insert text here.Insert text here. Insert text here.Insert text here. Insert text here.Insert text here. Insert text here.</span>
<h2><a id="plumbing"></a>Plumbing and Water Lines</h2>
<span style="color: #000000;">Water efficient irrigation systems, keep your property looking beautiful all growing season long.</span>
<h2><a id="grading"></a>Grading for Topography</h2>
<span class="Apple-style-span" style="color: #ff0000;">Insert text here. Insert text here.Insert text here. Insert text here.Insert text here. Insert text here.Insert text here. Insert text here.Insert text here. Insert text here.</span>
<h2><a id="drain"></a>Drain Tiling</h2>
<span style="color: #000000;">Mounds of soil are sculpted to create berms for privacy and swales for drainage. </span>
<h2><a id="utility"></a>Utility Coordination</h2>
<span class="Apple-style-span" style="color: #ff0000;">Insert text here. Insert text here.Insert text here. Insert text here.Insert text here. Insert text here.Insert text here. Insert text here.Insert text here. Insert text here.</span>

<a title="Contact" href="http://wilandscaper.com/contact/">Contact us</a> for more information.

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Gary
Gary
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi Gary!
I tried that first and it has the same problem as the other way.  It takes you to BELOW the h2.

http://wilandscaper.com/construction/#patio
it works fine on your site, i dont see any issue
Well that is weird.  It wasn't working before.  Maybe it was a cache issue.....