@RAHSTYLESYes, that's possible with CSS too.
For example, each notification has a unique ID so you could do something like this:
Code:#gritter-item-2 .gritter-item { position: fixed; top: 50%; left: 50%; margin-top: -150px; margin-left: -250px; width: 500px; height: 300px; }
View attachment 71529
The beauty of this add-on is, is it's so simple. You can create a notification, display it anywhere, with any colour, and text, and loads more options. But the beauty of the add-on also is how powerful it is.
Obviously the powerful stuff (JS, advanced styling etc) requires work and knowledge to get it to where you want it, but it would be worth the effort.
That's not possible with XenForo criteria, unfortunately.Any chance to set to show up in one thread only? I see in ACP criteria only for node.
I want to show notice when user open one thread or even better if he start to quick reply in that thread
Thanks sir! I'll let you know ASAPYes just PM me the email address you paid with, and the email address of who will be using the license going forward and I'll update the order.
Hello @Chris D I´m trying to hide notifications in responsiveNarrow and resposiveMedium for mobiles phones and tablets.This is really easy with some built in XenForo CSS classes. When editing your notification:
View attachment 78203
Select advanced custom style and add the above CSS class.
That will hide when the device width is below 480px. You can, of course, change that responsiveNarrowWidth value in Style Properties if you would prefer it to be 500px.
Or, of course, there's nothing to stop you from assigning your own class that is set to display: none when the media query sees a device below 500 (I am just recommending the default class for simplicity).
You can add more than one CSS class in that field, so you may also want to add some custom CSS to style the notifications accordingly.
hiddenResponsiveNarrow hiddenResponsiveMedium
hiddenResponsiveNarrow, hiddenResponsiveMedium
hiddenResponsiveMedium hiddenResponsiveNarrow
hiddenResponsiveMedium, hiddenResponsiveNarrow
Now I tried, but not work.Have you tried just resposiveMedium
Well, the difference between Widget Framework and this add-on is it doesn't have the ability to add a CSS class. I refuse to make something a checkbox when it's already simple to start with.@Chris D maybe you could add an option for Disable on mobile phones in the next update like Widget Framework has.
Would be very helpful.
We use essential cookies to make this site work, and optional cookies to enhance your experience.