Reputation:
Go message_macros, paste the code,
HTML:
<xf:if is="$user.Profile.custom_fields.profilebackground">
<div class="profilebackground" style="background-image: linear-gradient(180deg, #fff0, #141414), url({$user.Profile.custom_fields.profilebackground});"></div>
</xf:if>
after this.
HTML:
<xf:macro name="user_info"
arg-user="!"
arg-threadUserId=""
arg-fallbackName="">
Final Code View:
<xf:macro name="user_info"
arg-user="!"
arg-threadUserId=""
arg-fallbackName="">
<xf:if is="$user.Profile.custom_fields.profilebackground">
<div class="profilebackground" style="background-image: linear-gradient(180deg, #fff0, #141414), url({$user.Profile.custom_fields.profilebackground});"></div>
</xf:if>
HTML:
<section itemscope itemtype="https://schema.org/Person" class="message-user">
and add this as inline.
CSS:
style="position: relative;"
Final Code view:
<section itemscope itemtype="https://schema.org/Person" class="message-user"
style="position: relative;">
Reputation:
Reputation:
Reputation:
Reputation:
Reputation:
<xf:macro name="user_info"
arg-user="!"
arg-fallbackName="">
<div class="postbit_background" style="background-image: url({$user.Profile.custom_fields.profilebackground});"></div>
.postbit_background {
position:absolute;
height:120px;
width:170px;
opacity:.40;
}
<xf:macro name="user_info"
arg-user="!"
arg-fallbackName="">
<xf:if is="$user.Profile.custom_fields.profilebackground">
<div class="profilebackground" style="background-image: linear-gradient(180deg, #fff0, #141414), url({$user.Profile.custom_fields.profilebackground});"></div>
</xf:if>
<section itemscope itemtype="https://schema.org/Person" class="message-user" style="position: relative;">
Reputation: