[buddypress-trac] [BuddyPress] #3606: BuddyPress default isn't responding to devices size wise

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Oct 12 19:28:04 UTC 2011


#3606: BuddyPress default isn't responding to devices size wise
--------------------------+-------------------------
 Reporter:  karmatosed    |       Owner:  karmatosed
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  1.6
Component:  Theme         |     Version:  1.5
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+-------------------------

Comment (by karmatosed):

 Actually the issue of the loading viewport is a point covered looking at
 the theme by this:


 {{{
 // Responsive layout
         if ( current_theme_supports( 'bp-default-responsive' ) ) {
                 wp_enqueue_style( 'bp-default-responsive',
 get_template_directory_uri() . '/_inc/css/responsive.css', array( 'bp-
 default-main' ), $version );

                 if ( is_rtl() )
                         wp_enqueue_style( 'bp-default-responsive-rtl',
 get_template_directory_uri() . '/_inc/css/responsive-rtl.css', array( 'bp-
 default-responsive' ), $version );
         }
 }}}

 So rather than another test we can in the header just do a
 current_theme_supports check and output - easy :)

 I should have a patch weekend for this using that as a basis.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3606#comment:6>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list