Anchor links to different page not working

I have set up anchors on my page http://109.73.238.236/~mburney3/ruralandcritical.org/program/ that are #environment, #culture, #farms, #economy. I have linked them to the 4 circle calls to action on the homepage. When I click on one of the circles on the homepage, it goes to the program page, but does not scroll down to the anchor.

My anchor looks like this: <h3>Economic Benefits</h3>
And my link looks like this: http://109.73.238.236/~mburney3/ruralandcritical.org/program/#economy

I’m using Genesis with Enterprise Pro theme. Am I doing something wrong, or is there a bug with jumping to different pages?

Thanks!

Hey Fran,

You need to set an ID or name attribute to the tag for the page jump to work. Right now you’ve assigned it as an href. Try making it <a id=“environment”></a> or <a name=“environment”></a>. It doesn’t even have to be an anchor tag, you can use heading or paragraph tags like so… <h2 id=“environment”></h2>. What’s important is either the ID or name attribute is present. :slight_smile: FYI: The name attribute only applies to anchor and input tags. Let us know how it goes!

Ben

Bingo! Thanks, Ben. I had started out with the name attribute and it didn’t work, but then I also had capitalized the first letter which I realized was a no-no after I switched to the href. Thanks so much, I figured I was doing something wrong.

No worries! Have fun with BB! :slight_smile:

Ben