[wp-trac] [WordPress Trac] #55324: Twenty Twenty: Scroll to top not working

WordPress Trac noreply at wordpress.org
Sun Mar 6 08:56:27 UTC 2022


#55324: Twenty Twenty: Scroll to top not working
---------------------------+-----------------------------
 Reporter:  Presskopp      |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Bundled Theme  |    Version:
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 For whatever reason, in my installation the scroll to top arrow doesn't
 work. I changed

 {{{#!php
 <a class="to-the-top" href="#site-header">
 }}}

 to

 {{{#!php
 <a class="to-the-top" href="#">
 }}}

 and it was working again. Maybe worth patching?

 Another alternative would be

 {{{#!php
 <a class="to-the-top" href="#top">
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55324>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list