What else do I need to know about MagickBars?
MagickBars, and their available settings, are pretty self-explanatory, except for one …
If you let users close a MagickBar, there are two more options you need to set: Spacer and Button Color.
Here’s how these come into play …
Normally whatever content you add to a MagickBar is automatically centered in the bar, and on the page.
When you allow the bar to be closed, a close button is added to the right edge of your MagickBar.
… this pushes the MagickBar content to the left, which means it’s no longer perfectly centered.
If you want your MagickBar content to remain perfectly centered, turn the Spacer on, and this will add a blank “spacer” the same width as the close button to the left side of the bar, centering your content again.
You’ll generally want to use the spacer, unless you’re trying to squeeze every bit of space out of the bar …
Button Color should be pretty obvious—it’s the background color of the close button if applicable.
You’ll generally want to use the same color as the background of your bar content, so it all blends together, but you can use any color you want.