This topic has 4 replies, 3 voices, and was last updated 9 years by sharmstr.

  • Author
  • #71442
     jeffkauffmanjr
    Participant

    Hi,

    Please see the screenshot attached. The profile pic is overlapping with the text below. The screenshot is from the desktop view. On mobile, this error does not occur.

    What should I do to fix it, while ensuring that it will look good for both desktop and mobile browsers?

    Jeff

    Attachments:
    You must be logged in to view attached files.
    #71446
     Staffatico
    Participant

    I think you could get that taken care of with some CSS work

    #71699
     sharmstr
    Moderator

    It looks like the @name is missing. That’s what sets the padding between the avatar and the active message. You can add this css and adjust as necessary

    #item-header-content {
    margin-top: 15px;
    }

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #74241
     jeffkauffmanjr
    Participant

    I tried to add that code to the user-profile.php page and it broke the page. Here’s how I added it. I put the code you suggested at the bottom, as you can see below.

    Do you have any further suggestions?

    <?php

    /**
    * User Profile
    *
    * @package bbPress
    * @subpackage Theme
    */

    ?>

    <?php do_action( ‘bbp_template_before_user_profile’ ); ?>

    <div id=”bbp-user-profile” class=”bbp-user-profile”>
    <h2 class=”entry-title”><?php _e( ‘Profile’, ‘bbpress’ ); ?></h2>
    <div class=”bbp-user-section”>

    <?php if ( bbp_get_displayed_user_field( ‘description’ ) ) : ?>

    <p class=”bbp-user-description”><?php bbp_displayed_user_field( ‘description’ ); ?></p>

    <?php endif; ?>

    <p class=”bbp-user-forum-role”><?php printf( __( ‘Forum Role: %s’, ‘bbpress’ ), bbp_get_user_display_role() ); ?></p>
    <p class=”bbp-user-topic-count”><?php printf( __( ‘Topics Started: %s’, ‘bbpress’ ), bbp_get_user_topic_count_raw() ); ?></p>
    <p class=”bbp-user-reply-count”><?php printf( __( ‘Replies Created: %s’, ‘bbpress’ ), bbp_get_user_reply_count_raw() ); ?></p>
    </div>
    </div><!– #bbp-author-topics-started –>

    <?php do_action( ‘bbp_template_after_user_profile’ ); ?>

    #item-header-content {
    margin-top: 15px;
    }

    #74302
     sharmstr
    Moderator

    It doesnt go in that file. It either goes in your child theme style.css file or in Theme Options > General > Quick CSS.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

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

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?