Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to hide avatars in the list of topics


  • Danishsard
    Participant

    @danishsard

    Hello, on the list of forum topics avatery are visible, how can I hide or delete them. I just need a username without these pictures.

    I don’t know where to turn it on or how to enable it, even by editing the forum file code

    My forum page https://infomiasto.eu/forum/tematy/rozmowy/

Viewing 6 replies - 1 through 6 (of 6 total)

  • Robin W
    Moderator

    @robin-w

    the simplest way would be to put this in your theme’s custom css area

    img.avatar {
    	display : none ;
    }

    Danishsard
    Participant

    @danishsard

    Hello, will this also not remove images from the view of a specific entry in the conversation tree?

    It will still load in the page code, you could delete the image by adding files. I tried but the site is broken because I do not know how to edit the line of code that displays it loop topic so as not to spoil and delete only the avatar on the topic list page


    Robin W
    Moderator

    @robin-w

    try

    #bbpress-forums p.bbp-topic-meta img.avatar{
    	display : none ;
    }

    Danishsard
    Participant

    @danishsard

    This does not remove photos from the page code but from the view and that’s something. Thank you for your help!


    Robin W
    Moderator

    @robin-w

    ok


    tapiohuuhaa
    Participant

    @tapiohuuhaa

    img.avatar {
    display : none ;
    }

    You must define selector before img.avatar
    For topic list:
    body.single-forum #bbpress-forums img.avatar
    body.bbp-view #bbpress-forums img.avatar

    For forum list:
    body.forum-archive #bbpress-forums img.avatar

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Skip to toolbar