XF 2.2 How to change this padding width under certain condition?

securedme

Well-known member
I added options for users to display or hide their message avatars. But there's a padding of 10px that I would like to eliminate if the user chooses to hide the avatar.

How do I eliminate it?

1700455993450.webp
1700455984623.webp
------------------

<xf:if is="hide avatar"> // I know how to set the condition
padding-left: 10px; // how do I change this?
</xf:if>

And which template should I modify?
 
Back
Top Bottom