Please visit the Knowledgebase for the most up-to-date documentation. This page should redirect automatically
| Plugin: | UberMenu Sticky Extension |
| Plugin by: | Chris Mavricos, SevenSpark |
| Website: | sevenspark.com |
| Created: | January 22, 2013 |
| Guide Last Updated: | January 27, 2013 |
Welcome to UberMenu Sticky Extension! Thank you for purchasing this plugin, I appreciate it!
This guide should answer all your questions about how to use this plugin. You can browse the document using the navigation sidebar on the left, or search the entire document by using CTRL+F in your browser.
The latest version of this support guide can always be found here: UberMenu Sticky Extension Support Guide.
Please be polite when requesting support, and I'll be sure to respond as soon as possible. I'll do my best to answer your questions, but unfortunately I generally can't offer customizations beyond a few lines of code - there just aren't enought hours in the day! Of course, I will always provide fixes for any bugs that crop up as soon as can be :)
To access the forum, please register both your UberMenu and UberMenu Sticky Extension Purchase Codes
You can install UberMenu Sticky Extension via the WordPress plugin uploader without unzipping the download package.
You can also install UberMenu Sticky Extension via FTP
ubermenu-sticky folder (this directory is created when you unzip the file).ubermenu-sticky folder to your wp-content/plugins directory.Once you install the plugin, you'll get:
Activating UberMenu Sticky Extension will automatically make your UberMenu sticky, however you can use the settings panel (Appearance > UberMenu > Sticky Settings) to tweak its appearance.
| Setting | Purpose |
|---|---|
| Top Spacing | If you want your sticky menu to stick to the absolute top of the window, leave this at 0. If you would like it to be vertically offset, increase the Top Spacing appropriately. If you set this to 20, the menu will stick 20 pixels from the top of the window. |
| Expand Menu Bar Full Width on Scroll | By default, when your menu sticks the menu bar will expand to the full width of the screen. If you'd rather it did not, disable this. |
| Center Inner Menu Width | If you have activated the Expand Menu Bar Full Width on Scroll option, you may want the menu items to still be contained within the content area of your site, rather than being aligned to the left of the window. Normally you would set this to the width of your content area. |
| Menu Bar Background | If you are using a transparent background on your menu bar, you'll probably want to set a color for when the menu sticks. This makes it much easier to read the text while it is overlaid over other content. |
| Move WP Admin Bar to Footer | The WordPress Admin Bar is also a sticky menu. If you have both at the top, they will overlap and one will become inaccessible. This setting moves your Admin bar to the bottom of the page and inverts its menus. |
| Apply Sticky To | If you only want the menu to be sticky on a specific page, enter the post ID here |
The um-sticky-only class allows you to have menu items that are only displayed when the menu is sticky (they will be hidden via CSS otherwise). Simply add the class to any menu item.
One way to use this would be to add a logo to your menu that only appears after the user has scrolled past your header
The um-unsticky-only class allows you to have menu items that are only displayed when the menu is NOT sticky, and hidden via CSS otherwise while the menu is sticky. Simply add the class to any menu item.
When the menu is in the sticky state, it will be wrapped in this class. To write styles specifically for the sticky state of the menu, you can prefix your selectors with
/* Menu Bar while in sticky mode */
#megaMenu-sticky-wrapper #megaMenu.ubermenu-sticky{
}
Fixed positioning is much less flexible than relative or static positioning. Different browsers handle this differently. Your ability to float your menu right while it is sticky will be dependent on how your theme works. To accomplish this you will need to write custom CSS.
UberMenu Sticky specifically allows you to left-align or center the menu when it is sticky; the recommended solution is to use one of these positions rather than try to align it right.
If everything else on your site is running properly, UberMenu Sticky Extension should run without issue. But if your menu isn't sticking as you scroll, there could be a few issues:
1. Javascript errorsIf you have ANY javascript errors on your site, this can break the sticky functionality. That means if you've installed a theme or plugin that is misbehaving, this can cause trouble.
The same javascript errors that will break UberMenu will break UberMenu Sticky - it's just more obvious with UberMenu Sticky because a non-javascript sticky "fallback" is not possible. Please check out the UberMenu Troublshooter - javascript errors to troubleshoot your issue. The most common is an unrelated javascript error from another plugin/theme breaking things.
2. CSS Syntax ErrorCheck your CSS syntax in your UberMenu Control Panel's Custom CSS tweaks area. If you have a syntax error there, UberMenu Sticky's CSS won't get read and you won't get a sticky menu.
3. UberMenu VersionRemember, UberMenu Sticky requires UberMenu Version 2.2.2.0 or later. If you are using an earlier version, please upgrade in order to make your UberMenu compatible.
jQuery WayPoints plugin by imakewebthings