Title: Attribute function in menu not working
Last modified: September 14, 2021

---

# Attribute function in menu not working

 *  [django53](https://wordpress.org/support/users/django53/)
 * (@django53)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/attribute-function-in-menu-not-working/)
 * If you click some menu items on my old site thebojangles.nl and then click some
   on my new site lesfauxmanouches.nl you will see a difference: On my old the page
   scrolls smoothly to the part of the page I want to show and stops at the top 
   of the row. On my new page it just skips in an instant without the smooth scroll
   and it stops with the top of the row behind the menu bar?! How can I fix this?
   grts, Carlo
    -  This topic was modified 4 years, 8 months ago by [django53](https://wordpress.org/support/users/django53/).
    -  This topic was modified 4 years, 8 months ago by [django53](https://wordpress.org/support/users/django53/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fattribute-function-in-menu-not-working%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [Kharis Sulistiyono](https://wordpress.org/support/users/kharisblank/)
 * (@kharisblank)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/attribute-function-in-menu-not-working/#post-14872561)
 * Hi Carlo,
 * Thank you for reaching out to us. I am happy to help with your queries.
 * As checked on lesfauxmanouches.nl, the locations for **#Agenda** and **#Links**
   in your page are currently at their widgets. That’s why don’t scroll properly.
 * The solution for this: those IDs should be removed from the respective widgets
   and put them into the rows that wrap them.
 * Hope that helps.
 * Regards,
    Kharis
 *  Thread Starter [django53](https://wordpress.org/support/users/django53/)
 * (@django53)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/attribute-function-in-menu-not-working/#post-14873319)
 * Thanx for your answer Kharis! This solved the most important part of the problem.
   What’s left is that the scrolling behaviour still seems broken. It just skips
   to the next row while my other site has a more subtle scroll before it stops 
   at the row. grts, Carlo
 *  [Kharis Sulistiyono](https://wordpress.org/support/users/kharisblank/)
 * (@kharisblank)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/attribute-function-in-menu-not-working/#post-14874804)
 * Hi Carlo,
 * Thank you for getting back.
 * As checked on your homepage, the anchor targets seem likely to be working fine
   now.
 * Please let us know in a new topic if you have any further questions, or if we
   can provide you with any other assistance.
 * Regards,
    Kharis
 *  Thread Starter [django53](https://wordpress.org/support/users/django53/)
 * (@django53)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/attribute-function-in-menu-not-working/#post-14874867)
 * Yes the anchor is working but please see the difference in behaviour between 
   the two sites as I described. I mean the difference in scroll speed. grts, Carlo
    -  This reply was modified 4 years, 8 months ago by [django53](https://wordpress.org/support/users/django53/).
 *  [maaprote](https://wordpress.org/support/users/maaprote/)
 * (@maaprote)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/attribute-function-in-menu-not-working/#post-14879168)
 * Hello Carlo,
 * Yes really there’s a small difference in the scroll speed. But this is the expected
   behavior now since the old method/code uses JS to do the scrolling effect. In
   the most recent versions of Sydney we changed this to be done with CSS only.
 * The reason is performance. This new method (css) helps to get good rating in 
   speed performance tools.
 * Hope this clarifies!
 * Let us know if you have more questions.
 * Kind Regards,
 * Rodrigo.
 *  Thread Starter [django53](https://wordpress.org/support/users/django53/)
 * (@django53)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/attribute-function-in-menu-not-working/#post-14879250)
 * Hi Rodrigo, yes this clarifies but I don’t agree it’s a small difference. But
   never mind, I’ll get over it. 😉 grts, Carlo

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Attribute function in menu not working’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/sydney/2.68/screenshot.png)
 * Sydney
 * [Support Threads](https://wordpress.org/support/theme/sydney/)
 * [Active Topics](https://wordpress.org/support/theme/sydney/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/sydney/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/sydney/reviews/)

## Tags

 * [attribute](https://wordpress.org/support/topic-tag/attribute/)

 * 6 replies
 * 3 participants
 * Last reply from: [django53](https://wordpress.org/support/users/django53/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/attribute-function-in-menu-not-working/#post-14879250)
 * Status: not resolved