Skip to:
Content
Pages
Categories
Search
Top
Bottom

Add Member Type Class


  • LucidStrike
    Participant

    @lucidstrike

    Would it be possible to add the membership type of the viewed profile as a CSS class?

    There’s a subnav item I want to show ONLY on admin profiles, and, strangely, I’ve found nothing at all that restricts elements to admin profiles.

    I wanna target the element with

    .participant #posts-personal-li {
    display: none;
    }
Viewing 2 replies - 1 through 2 (of 2 total)

  • danbp
    Participant

    @danbp

    Hi @lucidstrike,

    There’s a subnav item…
    Which one ?

    Is it a custom item ?
    Something provided by your theme ?

    Also, theme name please.


    LucidStrike
    Participant

    @lucidstrike

    Hi.

    The subnav item comes from the app ‘BP Posts on Profile‘. The theme is ‘X‘ by Theme Co.

    Targetting the element with

    #posts-personal-li {
    display: none;
    }

    Removes it, but, of course, it removes it from ALL profiles. I need it on admin profiles only. It links to the author page, and other users can’t author posts anyway.

    Here is my admin profile.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add Member Type Class’ is closed to new replies.
Skip to toolbar