Viewing 13 posts - 1 through 13 (of 13 total)
  • #179700
    Slim
    Member
    Post count: 422

    Hi friends,
    can you help me on this issue?

    Thankz;)

    Attachments:
    You must be logged in to view attached files.
    #180082
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please open to edit sf-header.php file at /neighborhood/swift-framework/sf-content-display/.

    Find this code:-
    $woo_links_output .= '<li class="tb-welcome">' . __("Welcome", "swiftframework") . " " . $current_user->display_name . '</li>'. "\n";
    
    Change with:-
    '<li class="tb-welcome"><a href="'.get_permalink( $myaccount_page_id ).'" class="admin-link">'. __("Welcome", "swiftframework") . " " . $current_user->display_name .'</a></li>'

    Thanks
    Mohammad

    #180257
    Slim
    Member
    Post count: 422
    This reply has been marked as private.
    #180276
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please replace that line with this code:-

    $myaccount_page_id = get_option( 'woocommerce_myaccount_page_id' );
    $woo_links_output .= '<li class="tb-welcome"><a href="'.get_permalink( $myaccount_page_id ).'" class="admin-link">'. __("Welcome", "swiftframework") . " " . $current_user->display_name .'</a></li>';

    Thanks
    Mohammad

    #180286
    Slim
    Member
    Post count: 422
    This reply has been marked as private.
    #180290
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use this custom css code:-

    .tb-welcome .admin-link{
    text-decoration:underline !important;
    }

    Thanks
    Mohammad

    #180293
    Slim
    Member
    Post count: 422
    This reply has been marked as private.
    #180300
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please find this code:-

    $woo_links_output .= '<li class="tb-welcome"><a href="'.get_permalink( $myaccount_page_id ).'" class="admin-link">'. __("Welcome", "swiftframework") . " " . $current_user->display_name .'</a></li>';
    
    Change with:-
    $woo_links_output .= '<li class="tb-welcome">'. __("Welcome", "swiftframework") . " " .'<a href="'.get_permalink( $myaccount_page_id ).'" class="admin-link">'.$current_user->display_name .'</a></li>';

    Thanks
    Mohammad

    #180305
    Slim
    Member
    Post count: 422
    This reply has been marked as private.
    #180314
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please remove this code:-

    .tb-welcome .admin-link{
    text-decoration:underline !important;
    }

    Use this new code:-

    .tb-welcome .admin-link {
        text-decoration: underline !important;
        float: right;
        padding-left: 10px !important;
    }

    Thanks
    Mohammad

    #180328
    Slim
    Member
    Post count: 422
    This reply has been marked as private.
    #180347
    Slim
    Member
    Post count: 422
    This reply has been marked as private.
    #180402
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You most welcome 🙂 .
    Thanks
    Mohammad

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register