How to disable private message notification?
-
WordPress 4.9 “Tipton”
BuddyPress Version 2.9.2
Theme: Buddy Version: 2.15.1 By GhostPoolWhen sending private message to my users, the message shows sidewide notification to everyone visiting my site. I added this this in custom css
#sitewide-notice {
display: none !important;
}The message box appearing under the header was closed But the sidewide notification still exist.
You can check out here https://www.friendlygooners.com/
-
Hi @friendlygooners – Can you clarify what you mean by “the sitewide notification still exist”? Do you mean that it’s still in the markup, even though you are hiding it with CSS? Or do you mean that there is an element other than
#sitewide-notice
that is showing to all users? Can you share the markup (orid
attribute) from that additional element, so that we have a better sense of what needs to be hidden?I mean when I send private message to my members, the message shows notification to everyone who visits my site. Please visit my website now so you can see it http://www.friendlygooners.com
Thanks, @friendlygooners – I did read your previous post and visit your site, but what I’m saying is that I’m not sure what “mesage” or “notification” you are talking about. I currently see a partially-hidden item in the upper-right corner of the page, which ends in the sentence “Please reply if you are not a bot”. Is this the message that you are talking about?
If so, it appears that this element is created by your theme, Buddy. I don’t have access to the source of this theme, but I’m guessing that it uses some buggy logic to decide whether or not the notice should be shown. I’m unsure how to fix this bug in PHP because I can’t see the theme code. But you can hide this element with the following CSS:
.sidebar #message { display: none; }
You may also want to add some styling so that the top menu doesn’t cover up your site’s content:
#content-wrapper { margin-top: 105px; }
This may look different for logged-in users, so your mileage may vary.
Thanks i appreciate. The message is hidden now but still appear when loading but like you said i think the problem is with the theme.
- You must be logged in to reply to this topic.