Making WordPress.org


Ignore:
Timestamp:
11/19/2013 08:30:45 AM (11 years ago)
Author:
coffee2code
Message:

jobs.wordpress.net: Properly implement mobile menus. props mercime. see #84

  • style.css:
    • Add mobile styles
    • Fix color and padding of main navigation menu-toggle element
    • Add icons to the two mobile menus
    • Fix padding for job category row without any entry
  • sidebar.php: Add hooks to enable mobile menu set up of Position Type categories
  • navigation.js: Replace navigation.js which handled one menu with jQuery to handle both mobile menus (Position Type and Main Navigation menus)
  • functions.php: Move other enqueued stylesheets above the theme's main stylesheet and add jQuery dependency for revised navigation.js
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/jobs.wordpress.net/public_html/wp-content/themes/jobswp/sidebar.php

    r88 r123  
    1111            <aside id="cats" class="widget">
    1212                <h3 class="widget-title"><?php _e( 'Position Types', 'jobswp' ); ?></h3>
    13                 <ul>
     13                <a href="#" class="menu-jobs-toggle"></a>
     14                <ul class="menu-jobs">
    1415                    <li class="job-cat-item job-cat-item-all"><a href="/" title="<?php esc_attr_e( 'View all job openings', 'jobswp' ); ?>"><?php _e( 'All Openings', 'jobswp' ) ?></a></li>
    1516                <?php Jobs_Dot_WP::list_job_categories(); ?>
Note: See TracChangeset for help on using the changeset viewer.