Support Forums

Full Version: Mybb Announcement
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
How do I make an announcement with that colored banner that looks like a PM notification?
http://mods.mybboard.net/view/emergency-message-system

I like that mod the most, but it's just css with a little html ;).
Thanks, if it works +rep. Thumbsup
There is another one but this one has multiple colors so I usually recommend it over the other one.
Ha ha thanks, I've been looking for that forever. +rep is on the way.
I agree with EMS, I'm using it on one of my forums, it's great if you have different announcements to make.
Yeah I'm using it now.
You are better off just adding manual html to the header template. Adding plugins to do someone a template edit can do is a waste of resources.
IMHO I love the one on mybb source I wonder how you get that gradient effect....
When adding the CSS you would just make the image and depending on your template, you could make an image, and then add a CSS property (then adding the Div id to your header template) something like:
Code:
.message {
    background: url(images/image.png) top left repeat-x;
    width: 200px;
    color: #000000;
    border: 1px solid #000000;
    border-top: 0;
    margin: auto auto;
    text-align: left;

Then add it to your header template where you want it. Edit width as you want it. You could also remove top left repeat-x if you made the image the actual size you want it to be, I usually do 1px wide by however tall I want it and have the repeat.

You can add a gradient to it. This may not be the exact proper way, but, it works, and if you compress the image when you make it, you wouldn't have much of an added load time/bandwidth usage.
Pages: 1 2