• I’ve been requested to create a purely CSS and HTML5 based accordion menu for an advanced search field on a webpage.

    I did it so with the CSS3 :target function, labeled up every section properly, tested it first in simple HTML, then added it to a template.

    The problem is, that while in HTML it works perfectly, as soon as I add it to the template and try it in WordPress, when I click on the unopened “tabs”, it keeps jumping to the anchor.

    Tried looking for a solution, but so far I could not find one. So, question is: how can I disable the jumping to anchors on a given page of WordPress, or if no other way exists, on the whole site(it should not matter, I use no anchors whatsoever, only with the accordion)?

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Accordion with anchors jumping to title’ is closed to new replies.