Avatar-Position ändern

Bitte sagen Sie mir, wie ich einen Avatar auf diese Weise anzeigen kann

So

Theme: FKB Pro - Social theme

2 „Gefällt mir“

Wenn Sie das tun, verlieren Sie die Möglichkeit, den Avatar nach oben oder unten gleiten zu sehen. Ist das in Ordnung?

2 „Gefällt mir“

Ja, so sei es

1 „Gefällt mir“

Können Sie dieses Desktop-CSS ausprobieren?

.topic-post {
    $avatar_width: 60px;
    $topic_margin_body: 1em;

    .topic-body {
        width: calc(690px + var(--topic-body-width-padding) * 2 + $avatar_width + $topic_margin_body) !important;
    }

   .topic-avatar {
        position: absolute !important;
        left: calc(var(--topic-body-width-padding) * 2 + $topic_margin_body);
        margin-bottom: 0 !important;
    }

    &.sticky-avatar .topic-avatar {
        top: unset !important;
    }

    .names.trigger-user-card {
        margin-left: calc(var(--topic-avatar-width) + var(--topic-avatar-width) / 2);
        height: $avatar_width;
    }
}

2 „Gefällt mir“

Danke, das hat geholfen. Wie kann ich jetzt die Breite des Hauptblocks in Themen erhöhen?

Ich habe das obige CSS angepasst. Ich habe es nicht gesehen, da mein Bildschirm geteilt war. :+1:

Es hat nicht funktioniert

Versuchen Sie es erneut; ich habe es direkt danach noch einmal aktualisiert.

Es funktioniert auf meiner Seite:

Arc_X4TUccN7P8

Ja, es funktioniert. Vielen Dank :heart:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.