[buddypress-trac] [BuddyPress Trac] #6454: BP Companion Stylesheet - comments in css files should be updated

buddypress-trac noreply at wordpress.org
Mon May 25 09:09:54 UTC 2015


#6454: BP Companion Stylesheet - comments in css files should be updated
-----------------------------------------+-----------------
 Reporter:  imath                        |      Owner:
     Type:  defect (bug)                 |     Status:  new
 Priority:  normal                       |  Milestone:  2.3
Component:  Appearance - Template Parts  |    Version:
 Severity:  normal                       |   Keywords:
-----------------------------------------+-----------------
 Since r9883 we're using the template name instead of the stylesheet name
 to let people override the companion stylesheet from their child theme.
 But in the `bp-templates/bp-legacy/buddypress/css/twentyfifteen.css`
 stylesheet, the comment at the top is saying :

 ''If you are running as a child theme of twentyfifteen and wish to use
 this stylesheet then please copy it to buddypress/css/ or community/css/
 in your child theme root and rename the file to match your child theme
 name
 i.e. in child theme named 'twentyfifteen-child', twentyfifteen.css would
 become
 'twentyfifteen-child.css'''

 If you do so, the `/themes/twentyfifteen-child/buddypress/css
 /twentyfifteen-child.css` will not override the bundle stylesheet, it
 needs to be `/themes/twentyfifteen-child/buddypress/css/twentyfifteen.css`
 for it to work.

 I've also noticed the `bp-templates/bp-
 legacy/buddypress/css/twentyfourteen.css` was not including this comment.
 Maybe it would be a good idea to :
 - include the comment just like it's the case for twentyfifteen
 - or create a page in the codex and add a link to it in both companion
 stylesheet, so that if the rule is changing, we can deal with it from this
 codex page..

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6454>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list