XF 2.1 Remove avatars alongside thread list

And if you want it only in thread list but not in new posts I think you do this:

create a custom template in your style call it e..g. custom_hide_avatar.less

Add the code to that instead of extra.less

And add that to forum_view template:

Rich (BB code):
<xf:title page="{$page}">{$forum.Node.title}</xf:title>
<xf:description>{$forum.Node.description|raw}</xf:description>

<xf:css src="structured_list.less" />
<xf:css src="custom_hide_avatar.less" />


This should hide from thread list only
 
Last edited:
Is it possible to make this not applying to certain forums?
Yes, you can use a conditional statement, more on that here:

 
re: other post, try adding this for padding on mobile:

Code:
@media (max-width: @xf-responsiveMedium)
{
.structItem-title,.structItem-minor,.structItem-cell.structItem-cell--meta
{padding-left:10px}
}
 
Both have padding title is 100px, lower line is 10px. I gave you the padding code for the title because you asked for the title. In the code I used 100px purely as an example, obviously you can set that how you want, as you can with the padding for the lower bit.

They both have padding, just that one is 100px and one is 10 px. Those were only examples you change to suit what you want.
 
Both have padding title is 100px, lower line is 10px. I gave you the padding code for the title because you asked for the title. In the code I used 100px purely as an example, obviously you can set that how you want, as you can with the padding for the lower bit.

They both have padding, just that one is 100px and one is 10 px. Those were only examples you change to suit what you want.

Sure, I was using:

.structItem-title

{padding-left:100px!important}

and I was thinking there was another code for that 10px?
 
Top Bottom