XF 1.2 Delete box userinfo/avatar in certain forums

HenrikHansen

Well-known member
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.webp
 
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.
 
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.
 
Top Bottom