[buddypress-trac] [BuddyPress] #3389: Enqueueing CSS of bp-default breaks child theme layouts

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Aug 31 01:40:43 UTC 2011


#3389: Enqueueing CSS of bp-default breaks child theme layouts
---------------------+------------------
 Reporter:  mercime  |       Owner:
     Type:  defect   |      Status:  new
 Priority:  normal   |   Milestone:  1.5
Component:  Theme    |     Version:
 Severity:  normal   |  Resolution:
 Keywords:  close    |
---------------------+------------------

Comment (by johnjamesjacoby):

 Mixing @import with link'ed CSS is bad. The best explanation I have is:
 http://www.stevesouders.com/blog/2009/04/09/dont-use-import/

 Since WordPress plugins link to their own CSS, and WordPress has an API,
 we should use it.
 I.E - '''If we can enqueue, we should.'''

 From what I can tell, we are not queueing up an empty style.css anymore.

 Let's be inventive if we need to. Can bp-default detect that it's the
 parent theme, and enqueue the child CSS for it? I think my suggestion
 above was a good compromise of fixing and backpat, too.

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


More information about the buddypress-trac mailing list