Stack: Center not working after using suggested code / Sticky menu text glitch Firefox

edited July 2015 in Menu / Mega menu
Hi,

I've tried using the code on http://forum.muffingroup.com/betheme/discussion/170/any-suggestion-how-to-center-menu-using-stack-center but my menu still hasn't centered. I'm using the BeLanding page as a base. I have no search or language options on the right either.

Current Custom CSS

#Header .menu > li { display: inline-block; float: none;}
#Top_bar .menu_wrapper { text-align: center; width: 100%; }
#Top_bar .top_bar_left { width: 100% !important; }
.header-stack #Top_bar .top_bar_right { display: none; }
#Top_bar.is-sticky .menu_wrapper { width: auto; }

Link: removed


Also with the use of:
#Top_bar.is-sticky .menu_wrapper { width: auto; }

When you hover over the sticky menu text, the text glitches a bit in firefox, if I remove the width:auto; then there's no glitch.

One last thing, how do I make the sticky appear later? Because right now it changes to sticky on scroll which causes there to be a jump from where it used to be.

Any help is appreciated, if recommended I'll reinstall the theme with another demo.

Comments

  • For the meantime I decided to choose the modern menu header instead.
  • Hi,

    the topic you sent above explain how to center menu items along with header stack center. If css which we gave in this topic does not work, it means you got more stuff in menu section on the right side and that's why menu items can't be centered. To center menu items, you must have only menu items set. If you will send us url to site where menu is "Stack: Center" we'll be able to have a look on it.

    But sticky header works fine as we see. We did not noticed any problems with sticky header.

    Thanks!
  • edited July 2015
    Hi,

    I've changed the menu back to Stack: Center. You can have a look at this link removed
  • edited July 2015
    Also what I meant was if you scroll down just a little, the sticky menu activates and there's a black space where it used to be. Is it possible to make the sticky menu show after passing the normal menu?

    Thanks for your time
  • The css from you used won't work, because we see mistakes in your css code. Before this code, you got commented line which is wrong. Please remove this line completely and css should work.

    About this spacing while scrolling, it's our mistakes. We noticed this yesterday and of course this will be fixed with next update (this Friday).
  • edited July 2015
    Thanks for that, it worked.

    For people with a similar problem in the future, turns out I didn't comment out a line of code properly. I accidentally put the /* after the . see below:

    ./*header-simple #Header a.responsive-menu-toggle { display: none; }*/

    Hence interfering with the other code.
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.