How to center top sticky menu
Hello,
Overall, the menu works good, we use maximenu params and maximenu mobile. The one thing we can't figure out. is when the menu is in desktop mode and the user scrolls down. When the menu sticks to the top, we want the bar to go all the way across, but we want the menu to be centered. Right now, the menu is flush left. how can we set the menu to be centered?
Thank you,
Tim
Overall, the menu works good, we use maximenu params and maximenu mobile. The one thing we can't figure out. is when the menu is in desktop mode and the user scrolls down. When the menu sticks to the top, we want the bar to go all the way across, but we want the menu to be centered. Right now, the menu is flush left. how can we set the menu to be centered?
Thank you,
Tim
by tceko1
Please Log in or Create an account to join the conversation.
Hi
in the module options >> effect options >> Menu position = top fixed
under this, you shall see an option to give the width of the top fixed menu, give it the width of your template
CEd
in the module options >> effect options >> Menu position = top fixed
under this, you shall see an option to give the width of the top fixed menu, give it the width of your template
CEd
Joomlack Webmaster and Developer
by ced1870
Please Log in or Create an account to join the conversation.
Thank you for your quick reply!
That worked as far as making the menu center. We were hoping that the background of the menu bar would still go full width, but only the menu items would be centered. Is there any way to accomplish this?
That worked as far as making the menu center. We were hoping that the background of the menu bar would still go full width, but only the menu items would be centered. Is there any way to accomplish this?
by tceko1
Please Log in or Create an account to join the conversation.
then you shall center your items in the normal state also
else you can use the css class "maximenufixed" that is applied to the menu when sticky, and use your own css to center the element in this state
else you can use the css class "maximenufixed" that is applied to the menu when sticky, and use your own css to center the element in this state
Joomlack Webmaster and Developer
by ced1870
The following user(s) said Thank You: tceko1
Please Log in or Create an account to join the conversation.
Time to create page: 0.725 seconds