This topic has 2 replies, 1 voice, and was last updated 8 years by Roader.

  • Author
  • #140765
     Roader
    Participant

    /* Border for Content Area */

    .activity-list .activity-content {

        border: 1px solid #ddd;

        }

    .activity-list .activity-content:before {

    content: “”;

    display: block;

     width: 14px;

    height: 14px;

    border-color: #ddd;

     margin-left: -8px;

     position: absolute;

    top: 15px;

     border-style: none none solid solid;

    border-width: 0 0 1px 1px;

    transform: rotate(45deg);

    left: 0px;

    background: #f7f7f7;

             }

    /* Border for Widget Area */

    .buddypress.widgets ul.item-list {

     border: 1px solid #ddd;

        }

    .buddypress.widgets ul.item-list:before {

        content: “”;

        display: block;

        width: 14px;

        height: 14px;

        margin-left: 15px;

        position: absolute;

        left: 22px;

        top: -8px;

        border-style: none none solid solid;

        border-width: 0 0 1px 1px;

        transform: rotate(136deg);

        background: #f7f7f7;

        border-color: #ddd;

     

    }

    /* Align rtMedia button “Post in”  */

    #whats-new-post-in{

    right:auto;

    position:relative;

    bottom:auto;

    left:72px;

    top:-17px;

    }

    div#whats-new-post-in-box{

    margin-top:3px;

    }

    /* “Notifications” in Main Menu */

    /* Note: Put this into YourChildTheme: style.css */

    .my_bubble {

    border-radius: 2px;

    border: none;

    line-height: 18px;

    background: #f00056;

    color: #fff;

    display: inline-block;

    margin-left: 2px;

    padding: 0px 4px;

    text-align: center;

    font-size: 11px;

    }

    ——– Put this into YourChildTheme: function.php ——–

    //Add Count Near Nav Menu

    function my_counter_nav_menu($menu) {

    if ( ! is_user_logged_in() ) {

    return$menu;

    }

    $user_id = bp_loggedin_user_id();

    $user_url = bp_loggedin_user_domain();

    $notify_url = $user_url . bp_get_notifications_slug() . ‘/’;

    ob_start();

    ?>

    <li><a href=“<?php echo $notify_url ?>”>Notifications<span class=“my_bubble”> <?php echo bp_notifications_get_unread_notification_count( $user_id );?></span> </a></li>

    <?php

    $menu_items = ob_get_clean();

    $menu = $menu . $menu_items;

    return$menu;

    }

    add_filter( ‘wp_nav_menu_items’, ‘my_counter_nav_menu’ );

    Attachments:
    You must be logged in to view attached files.
    #140768
     Roader
    Participant

    First you need to Download FontAwesome from: http://fontawesome.io/
    After, Unzip, take folders css and fonts, and put them inside SweetDateChildTheme.
    Put the Css Code inside style.css

    /* Buttons and Icons for: Favorite, Delete, etc. */

    a.link.acomment-reply.bp-primary-action {
    display: inline-block;
    background-color: #fff;
    border: 1px solid #ddd;
    color: #444;
    font-weight: normal;
    padding: 6px;
    border-radius: 3px;
    font-size: 11px !important;
    }

    a.link.secondary.fav.bp-secondary-action {
    display: inline-block;
    background-color: #fff;
    border: 1px solid #ddd;
    color: #444;
    font-weight: normal;
    padding: 6px;
    border-radius: 3px;
    font-size: 11px !important;
    }

    a.link.unfav.bp-secondary-action {
    display: inline-block;
    background-color: #fff;
    border: 1px solid #ddd;
    color: #444;
    font-weight: normal;
    padding: 6px;
    border-radius: 3px;
    font-size: 11px !important;
    }

    a.button.item-button.bp-secondary-action.delete-activity.confirm {
    display: inline-block;
    background-color: #fff;
    border: 1px solid #ddd;
    color: #444;
    font-weight: normal;
    padding: 6px;
    border-radius: 3px;
    font-size: 11px !important;
    }

    a.button.item-button.bp-secondary-action.delete-activity-single.confirm {
    display: inline-block;
    background-color: #fff;
    border: 1px solid #ddd;
    color: #444;
    font-weight: normal;
    padding: 6px;
    border-radius: 3px;
    font-size: 11px !important;
    }

    a.button.item-button.bp-secondary-action.delete-activity-single.confirm:before {
    font-family: “fontawesome”;
    content: “\f1f8”;
    margin-top: -2px;
    margin-right: .25em;
    display: inline-block;
    vertical-align: middle;

    }

    a.link.secondary.fav.bp-secondary-action:before {
    font-family: “fontawesome”;
    content: “\f005”;
    margin-top: -2px;
    margin-right: .25em;
    display: inline-block;
    vertical-align: middle;
    }

    a.link.secondary.fav.bp-secondary-action.unfav:before {
    font-family: “fontawesome”;
    content: “\f00d”;
    margin-top: -2px;
    margin-right: .25em;
    display: inline-block;
    vertical-align: middle;
    }

    a.button.item-button.bp-secondary-action.delete-activity.confirm:before {
    font-family: “fontawesome”;
    content: “\f1f8”;
    margin-top: -2px;
    margin-right: .25em;
    display: inline-block;
    vertical-align: middle;
    }

    #140772
     Roader
    Participant

    /* Selection New, Active, Popular – Sidebar */
    .buddypress.widgets .item-options a {
    padding: 3px 0;
    margin-bottom: 5px;
    display: inline-block;
    border-radius: 0px;
    }
    .buddypress.widgets .item-options a.selected {
    background: none;
    border: 0px;
    padding: 3px 5px;
    border-bottom: 3px solid #0296c0;
    }

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?