Center Menu

Hi Support,

Can you please advise on how to make the Menu appear centered in the theme?  I am using a Fixed header style.

Thanks!

Comments

  • Hi,
    Please send a link to your website.
    thanks
  • Ok, so to center menu items in header when its non sticky, you need to use the following css:
    #Top_bar:not(.is-sticky) .menu { text-align: center !important; }
    #Top_bar:not(.is-sticky) .menu > li { display: inline-block !important; float: none !important; }
    #Top_bar:not(.is-sticky) .menu_wrapper { float: none !important; }
    #Top_bar:not(.is-sticky) .logo { display: none !important; }
  • What about for Sticky as well?
  • #Top_bar.is-sticky .menu { text-align: center !important; }
    #Top_bar.is-sticky .menu > li { display: inline-block !important; float: none !important; }
    #Top_bar.is-sticky .menu_wrapper { float: none !important; }
    #Top_bar.is-sticky .logo { display: none !important; }
  • Hi Support,

    I put both into the BeTheme Theme Option Custom CSS area.

    Please let me know about:
    1. The small logo that was in the header is now gone.  How do I restore?
    2. The header moves.  For example, as I navigate from page to page the header starts out on the left then shifts to the center.  I do not want any shifting.
    3. On the Home page the header was transparent.  The sticky header is correct to be dark.  How do I restore the transparent header on the Home page?
    Thanks!
  • You asked to have the same css for the normal header. Now please delete from the custom css the last line:
    #Top_bar.is-sticky .logo { display: none !important; }
    We do not see any movement, please delete browser cache.
    thanks
  • How do I make the dark sticky header non transparent?
  • .sticky-dark #Top_bar.is-sticky {
    background: black !important;
    }
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.