Support » Theme: onetone » Linking To Different Sections

  • I’m trying to create links to different sections using anchors, just like the top menu does, but it doesn’t work. For example, every time I have the word “contact” displayed, I’d like to link it to the “Contact” section with #contact. It doesn’t work properly, however, as it does in the main menu on top. The link does not go to that section, even though I’ve copied it exactly as it is in the top menu.

Viewing 2 replies - 1 through 2 (of 2 total)
  • onetone does not have sections ID, so #section will not work properly

    You can link to sections. You just have to phrase the link correctly indicating the class and section, i.e. to link to contact as you mention above, you would use <a class="scroll" href="#contact" data-section="contact">

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Linking To Different Sections’ is closed to new replies.