[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 15:21:52 UTC 2011


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

Comment (by karmatosed):

 I've got 2 suggestions both just changing css rather than styling as use
 the same styling.

 1.  Keep the absolute naming and have it as - divsticky.diff attached:


 {{{
 body.home-page .sticky .date,
 div.page .sticky .date {
         background: #fff9db;
         border-top: 1px solid #ffe8c4;
         border-bottom: 1px solid #ffe8c4;
         color: #ffa200;
         padding: 5px;
 }
 }}}


 2.  Just do a .sticky styling on that element - nodivsticky.diff attached:
 Unless objections this would be my recommendation.


 {{{
 .sticky .date {
         background: #fff9db;
         border-top: 1px solid #ffe8c4;
         border-bottom: 1px solid #ffe8c4;
         color: #ffa200;
         padding: 5px;
 }
 }}}

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


More information about the buddypress-trac mailing list