Skip to:
Content
Pages
Categories
Search
Top
Bottom

Hide User Role

  • @fenixbazaar2

    Participant

    Hi there,

    I have currently installed a user-rank plugin that ranks users according to their total post and thread count. The problem is that the role still lingers around under the username, which clogs things up a bit, particularly with a new image representing the user’s rank.

    What I would like to do is remove the role tag from beneath the user’s avatar all together (not remove the role itself, just the little “participant” or “keymaster” tag on the forum post).

    I have tried the following in style.css:

    .threadauthor small a {
    
    display: none;
    
    }

    Unfortunately, that didn’t do the trick.

    Any ideas?

Viewing 10 replies - 1 through 10 (of 10 total)
  • @tech55541

    Participant

    Hello,
    Please try this CSS code.

    #bbpress-forums div.bbp-forum-author .bbp-author-role, #bbpress-forums div.bbp-topic-author .bbp-author-role, #bbpress-forums div.bbp-reply-author .bbp-author-role {
    display: none;
    }

    Thanks.

    @fenixbazaar2

    Participant

    Where do I put this? In mystyle.css? Sorry, you weren’t very clear.

    @tech55541

    Participant

    Hello,
    You can put it in a child theme style.css file. You can also use this plugin.
    https://wordpress.org/plugins/simple-custom-css/

    Thanks.

    @fenixbazaar2

    Participant

    This didn’t work unfortunately 🙁

    @casiepa

    Moderator

    Hi,
    Every site is different. If you post a link to your site here, we can check the CSS needed.
    Pascal.

    @fenixbazaar2

    Participant

    No problem.

    Here you go: http://fenixbazaar.com/

    Any help would be greatly appreciated 🙂

    @tech55541

    Participant

    Hello,
    Could you please send us a direct link to a page with user roles on it?

    Thanks.

    @fenixbazaar2

    Participant

    http://fenixbazaar.com/groups/pc-master-race/forum/topic/gaming-keyboards/

    I’m referring specifically to the orange user role badge directly under the avatar. I have installed my own user badge system and as such want to remove the default ones from appearing.

    @tech55541

    Participant

    Hello,
    Please try this CSS code.

    .bbp-author-role {
    display: none;
    }

    Thanks.

    @ddesmond

    Participant

    How can this properly be done, using php and not “hiding” it from the front end?

    I am trying to remove the bbp-author-role from under the display pic in every topic/reply using PHP

    Thanks

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