Can't change mobile header height

Home Forums Jevelin Theme Can't change mobile header height

Home Forums Jevelin Theme Can't change mobile header height

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    RESOLVED Posts
  • daniellek
    Participant

    Hi there,

     

    I’m having trouble setting the mobile header height to remove white space between the header and content. I’ve attached a screenshot to explain what I’m talking about.

     

    The desktop height is fine and there is no blank space.

     

    The HTML of the mobile header is:

    <header class=”primary-mobile” style=”height:220px;”>

     

    The height px seems to change depending on the page or the width of the mobile screen.

     

    In case this information is relevant, I think the issue started since I created some pages with title bars, whereas most of the pages are created with Unyson without using the theme’s title bar (if that makes sense).

     

    The only pages it had no issues were pages with the “light header/titlebar” option, where the title bar background extended to the header. I’ve since removed all pages with this option so I can’t show you an example.

     

    Website is https://kongandway.com.au/

     

    Thank you in advance

    Attachments:
    You must be logged in to view attached files.

    Solution for this topic

    Hi @daniellek,

     

    I hope you are well today and thank you for your question.

     

    You can resolve it by adding the following CSS code in the Custom CSS code option of your theme on the below path.

     

    Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code

     

    header.primary-mobile {
        height: auto !important;
    }

     

    Best regards,
    Shufflehound team

    daniellek
    Participant

    That fixed it. Thank you!

    You are most welcome here 🙂

Viewing 4 posts - 1 through 4 (of 4 total)