[buddypress-trac] [BuddyPress] #3239: Sticky posts styling not working on all indexes

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sat May 21 18:43:13 UTC 2011


#3239: Sticky posts styling not working on all indexes
---------------------+----------------------
  Reporter:  DJPaul  |      Owner:  DJPaul
      Type:  defect  |     Status:  assigned
  Priority:  normal  |  Milestone:  1.3
 Component:  Theme   |    Version:  1.3
Resolution:          |   Keywords:
---------------------+----------------------

Comment (by hnla):

 The later is the best approach, the former is too specific and can break,
 theoretically, if stickies somehow appeared on another page, or those
 antecedent selectors changed in any manner.

 Descendant selectors while powerful and important to understand and use
 become dangerous and hard to trouble shoot in dynamic sites where content
 is vast and complicated, where possible styling to classes and ID with
 descendant selectors used only where absolutely necessary is safest.

-- 
Ticket URL: <https://trac.buddypress.org/ticket/3239#comment:5>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list