BuddyDev

Search

HELP Colors CSS for Profile Member Types on Buddyboss Platform

  • Participant
    Level: Initiated
    Posts: 3
    Mr.Darwin on #27180

    I would like to do exactly the same on my page, how can I do it? I use Buddyboss platform, please help me
    https://buddydev.com/support/forums/topic/display-member-type-profile-by-color/

  • Keymaster
    (BuddyDev Team)
    Posts: 21837
    Brajesh Singh on #27187

    Hi Mr. Darwin,
    Welcome to BuddyDev.

    We do not provide support for BuddyBoss platform.

    You can still use the advice from the linked post. Each item in the members loop applies a css class like this

    
    .member-type-membertype_ame
    

    e.g If the user has a member type named ‘student’, they will have a class applies to the list item, as

    
    .member-type-student
    

    You can use it to target the background.

    Example

    
    .member-type-student{
      background:red;
    }
    
    

    or apply other styles as you please.

    Hope that helps.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 3
    Mr.Darwin on #27199

    Thank you , ill try it. 🙁

You must be logged in to reply to this topic.

This topic is: not resolved