• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.2 Delete box userinfo/avatar in certain forums

HenrikHansen

Well-known member
#1
Can anyone guide to how I (for certain nodes) can delete in 1. post only the user info box to the left so the text expands to full width?

deleteuseravatar.png
 

Brogan

XenForo moderator
Staff member
#2
Add to EXTRA.css:
Code:
.node32 .messageUserInfo {
display: none;
}

.node32 .message .messageInfo {
margin-left: 0;
}
Change the 32 to the node ID.
Repeat for any other nodes as required.
 

Brogan

XenForo moderator
Staff member
#4
Oh, I missed that.
Try this:
Code:
.node32 .messageList li:first-child .messageUserInfo {
display: none;
}

.node32 .messageList li:first-child.message .messageInfo {
margin-left: 0;
}
I'm not sure how that will work in all browsers so to be safe, the only way to be sure would be to edit the template and use a conditional statement with modified HTML.