RM 2.3 Remove resource icon round border in specific categories

Andy.N

Well-known member
I have this code in extra.less to remove round radius for resource icons.
Is it possible to apply this for specific resource categories instead?
Code:
/* Remove the round radius for avatar on Resource index page, ranking pages 
[data-template = "xfrm_category_view"]
{    .avatar    
{        border-radius: 0;    
}
}
 
Solution
Try this, X is the number assigned to the category, so change this for each category.

Code:
/* Remove the round radius for avatar on Resource index page, ranking pages */
[data-container-key="xfrmCategory-X"] {   
.avatar
{        border-radius: 0;
}
}
Try this, X is the number assigned to the category, so change this for each category.

Code:
/* Remove the round radius for avatar on Resource index page, ranking pages */
[data-container-key="xfrmCategory-X"] {   
.avatar
{        border-radius: 0;
}
}
 
Solution
Back
Top Bottom