Skip to:
Content
Pages
Categories
Search
Top
Bottom

css problem


  • Oaz
    Participant

    @oaz

    Hello everybody,

    In groups I need to hide the buttons “leave the group” and “suscribe” in the header (non choice for members on my platform)

    For the suscribe button, I wrote

    a.group-button.request-membership {display:none !important;}

    and it works, but it does not for the leave group button, whatever I am trying.

    a.group-button.leave-group{display:none !important;}
    #buddypress div#item-header-content div.item-buttons {display:none !important;}

    May you help ?
    thanks

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

  • Varun Dubey
    Participant

    @vapvarun

    @oaz You can try

    .groups-meta.action button.group-button.leave-group.button {
        display: none;
    }

    Oaz
    Participant

    @oaz

    Thanks for your help varun, but it enventually worked with this

    /*forum masquer le bouton adhérer/quitter le groupe*/
    a.group-button.request-membership{display:none !important;}
    a.group-button.leave-group{display:none !important;)

    I do not know why it did not previously, maybe some cache on server, but anyhow, buttons have disappeared now. Thanks very much for caring and have a nice day


    Varun Dubey
    Participant

    @vapvarun

    Great 🙂

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