Mobile Sticky Header & Increase Font Size

Hello!

On mobile, the header is NOT sticky. How can I apply this plus increase the padding in Theme Options? Also, how to I increase the font size? See below screenshots of the mobile view.


Comments

  • Hi,

    1) Do you have sticky header option enabled in Betheme -> Theme options -> Responsive -> Header?

    This option need to be also enabled in Betheme -> Theme options -> Header & Subheader -> Header.

    2) You want to increase the padding for what part?

    3) To increase font size you need to write a custom CSS code, and place it in Betheme -> Theme options -> Custom CSS & JS -> CSS. I can help you with it, but I will need a link to your website.


    Thanks

  • edited October 2022

    Hello!

    1) I followed the steps you provided. I already had these options turned on and mobile header is still NOT sticky. See attached Theme Options:


    2) I'm referencing the padding on the mobile header. The logo is just a bit too close to the top and bottom of the background.

    3) Here's the link to our website - https://sidebaratl.com/ - I'll need help with writing the custom css code.

    Thanks!

  • 1) The sticky header works on mobile, but it has a z-index lower than the content and it hides behind it. You have a custom CSS code that set the #Content z-index to 9999.

    Get rid of this CSS, and the Top bar will appear again.

    2, 3) Please, use the following CSS:
    @media only screen and (max-width: 767px){
       #Side_slide .menu-item span{
       font-size: 20px;
     }
       #Top_bar .logo #logo{
          margin: 10px 0!important;
       }
    }
    

    Best regards

  • Thank you the issue has been resolved.

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.