OnPoint Plugins

  • Plugins
    • Advanced Sidebar Menu
    • Go Live Update Urls
  • About
    • Services
    • Showcase
  • Blog
  • Contact
  • Support
  • Log In
← Back to support

Anchor ID menu styling

Resolved

Requested: 2 years and 10 months ago

I have a menu with anchor ids. Each item is to scroll to that section of the page. The ‘current’ item is styling all of the anchors instead of just the one anchor. 

Plugin: Advanced Sidebar Menu

  1. OnPoint Plugins

    2 years and 9 months ago

    You may accomplish this by adding the following filter to your active theme’s functions.php file:

    Afterward, the widget setting will be ignored and be automatically set depending if you are on a child page or not.

     

  2. Holly Butler

    2 years and 9 months ago

    Getting this error when adding after other function in file.

    syntax error, unexpected ‘<‘, expecting end of file

  3. OnPoint Plugins

    2 years and 9 months ago

    This is mostly likely caused if there is an extra <?php tag being added because it’s after a previous one.

    Please try adding it without the <?php line.

« Older Responses

New Response Cancel reply

You must be logged in to respond. Only PRO members are allowed to respond to support requests.

© 2023 · WordPress Development · Terms Of Service · Privacy Policy · Cookie Policy · Log in

  • Plugins
  • Blog
  • Contact