-
Author
-
March 25, 2018 at 19:15 #192988ThrewTheNevRParticipant
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.March 25, 2018 at 19:20 #192990Kieran_SQModeratorHi,
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 solutionIf 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.
March 25, 2018 at 19:55 #192998Kieran_SQModeratorHi,
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 CODEli#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 solutionIf 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.
March 25, 2018 at 19:57 #193000Kieran_SQModeratorYou’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 solutionIf 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.
-
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.