This topic has 5 replies, 2 voices, and was last updated 6 years by Kieran_SQ.

  • Author
  • #192988
     ThrewTheNevR
    Participant

    Hello there,

    So I’m having an issue removing the messages from the profiles nav bar.

    The strangest issue tho because I was able to hide the notifications tab with following code.

    a#user-notifications  {display : none !important}

    That worked as expected but when I try to apply same method for the messages tab it don’t seem to work.

    Following css used:

    a#user-messages {display : none !important}

    Doesn’t seem to work.

     

    I then proceeded to try doing it using a function instead with the following code below.

    function bp_remove_item_from_profile()

    {

     

    bp_core_remove_nav_item(‘messages’);

    }

     

    add_action(‘bp_activity_setup_nav’,’bp_remove_item_from_profile’);

     

    Didn’t seem to work. Was there another way to go about this?

    Attachments:
    You must be logged in to view attached files.
    #192990
     Kieran_SQ
    Moderator

    Hi,

    I just checked locally and that is the correct CSS

    a#user-messages {display : none !important}

    Please try purging your CDN, server cache, website cache and front-end cache (Ctrl+F5) to see if this resolves the issue.

    Also please check the CSS that is above and below opens and closes correctly with the curly brackets { }

    If you have done both of these tests and the issue persists then please update this ticket, in a private reply, with admin credentials so I can check it out.

    Thanks,

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #192997
     ThrewTheNevR
    Participant
    This reply has been set as private.
    #192998
     Kieran_SQ
    Moderator

    Hi,

    You have a plugin installed called BP Better Messages that has changed the class for the profile nav item. I have added the below to your Theme Options > General Settings > Quick CSS and the changes are reflected on the front-end. Please clear you local cache to see the changes.

    COPY CODE
    li#bp_better_messages_tab-personal-li {
        display: none !important;
    }

    Thanks,

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #192999
     ThrewTheNevR
    Participant

    Thank you so much.

    #193000
     Kieran_SQ
    Moderator

    You’re welcome, feel free to open a new ticket any time with any other questions 🙂

    All the best,

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

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

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?