Bitte sagen Sie mir, wie ich einen Avatar auf diese Weise anzeigen kann
So
Theme: FKB Pro - Social theme
Bitte sagen Sie mir, wie ich einen Avatar auf diese Weise anzeigen kann
So
Theme: FKB Pro - Social theme
Wenn Sie das tun, verlieren Sie die Möglichkeit, den Avatar nach oben oder unten gleiten zu sehen. Ist das in Ordnung?
Ja, so sei es
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;
}
}
Ich habe das obige CSS angepasst. Ich habe es nicht gesehen, da mein Bildschirm geteilt war. ![]()
Es hat nicht funktioniert
Versuchen Sie es erneut; ich habe es direkt danach noch einmal aktualisiert.
Es funktioniert auf meiner Seite:

Ja, es funktioniert. Vielen Dank ![]()
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.