Forum Discussion
bhupen - Got you, just one change and it will work. No changes in JS are required.
The CSS change you made, remove the display block,
.messageAuthorColumn .UserName.lia-user-name img.lia-user-rank-icon-left {
display: block;
margin-left: -81px !important;
}
Please mark the post Accept as a solution if it answers your question. Kudos for the helpful post are appreciated.
VarunGrazitti Its hard luck for me. Not workin in jquery do you have any idea how can I do it using FTL.
Following are the jquery code How can I do the same way in FTL:
<script>
$(".thread-list .lia-list-row .messageAuthorColumn").each(function(){
var getRole = $(this).find('.lia-user-rank-icon-left').attr('title');
if(getRole != "DigitalPlatforms" || getRole !="Administrator"){
$(this).find('.lia-user-rank-left-icon').hide();
}
});
</script>
Regards
Related Content
- 10 months ago
- 11 months ago
- 2 years ago