Skip to:
Content

BuddyPress.org

Changeset 6411


Ignore:
Timestamp:
10/15/2012 07:36:09 PM (13 years ago)
Author:
boonebgorges
Message:

Adds bp-title-button class to buttons filtered into the_title, to make them styleable

Fixes #4602

Props enej

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-screens.php

    r6385 r6411  
    952952        // Title based on ability to create groups
    953953        if ( is_user_logged_in() && bp_user_can_create_groups() ) {
    954             $title = __( 'Groups', 'buddypress' ) . '&nbsp;<a class="button" href="' . trailingslashit( bp_get_root_domain() . '/' . bp_get_groups_root_slug() . '/create' ) . '">' . __( 'Create a Group', 'buddypress' ) . '</a>';
     954            $title = __( 'Groups', 'buddypress' ) . '&nbsp;<a class="button bp-title-button" href="' . trailingslashit( bp_get_root_domain() . '/' . bp_get_groups_root_slug() . '/create' ) . '">' . __( 'Create a Group', 'buddypress' ) . '</a>';
    955955        } else {
    956956            $title = __( 'Groups', 'buddypress' );
  • trunk/bp-themes/bp-legacy/css/buddypress.css

    r6392 r6411  
    703703#buddypress ul.button-nav li a,
    704704#buddypress div.generic-button a,
    705 #buddypress .comment-reply-link {
     705#buddypress .comment-reply-link,
     706a.bp-title-button {
    706707    background: #fff; /* Old browsers */
    707708    background: -moz-linear-gradient(top, #ffffff 0%, #ededed 100%); /* FF3.6+ */
Note: See TracChangeset for help on using the changeset viewer.