[wp-trac] [WordPress Trac] #40236: Twenty Seventeen: Sticky Menu

WordPress Trac noreply at wordpress.org
Wed Mar 22 17:04:43 UTC 2017


#40236: Twenty Seventeen: Sticky Menu
---------------------------+------------------------------
 Reporter:  dEM0nsTAr      |       Owner:
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Bundled Theme  |     Version:  4.7
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:  ui, template
---------------------------+------------------------------

Comment (by dEM0nsTAr):

 Thanks for the hint with the scrolling @afercia ! Maybe there is a better
 solution to this but I still like the idea of a sticky/fixed navigation on
 top for a mobile device. Without "left: 0;" it even appears only in the
 top right corner.
 For the second issue I meant something like this jQuery approach:

 {{{
 $(‘#top-menu li a’).click( function(){
   $(‘#site-navigation’).attr(‘class’,’main-navigation’);
 });
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40236#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list