[Resolved] Mobile Header

Home Forums Support [Resolved] Mobile Header

Home Forums Support Mobile Header

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #494795
    Janine

    Hi, guys.

    When I go to Layout > Header > Mobile Header and choose Enable, I get the hamburger menu.

    But when I Disable I get this:

    https://drive.google.com/open?id=1TmLSr7f8d7A2IV0UiqJKtciw7fc19WNk

    The site title (which is 66px) is smaller than the tagline (which is 20px). I don’t like how this looks. Is this something I could fix with Elementor?

    Link to demo site: efc21c12.ngrok.io

    Thank you!

    #494901
    Leo
    Staff
    Customer Support

    Hi there,

    What’s the preferable solution?

    You can make the font size bigger on mobile with this CSS:

    @media (max-width: 768px) {
        .main-title {
            font-size: 50px;
        }
        .site-description {
            font-size: 40px;
        }
    }
    #495081
    Janine

    Hi, Leo.

    I tried this and nothing happened.

    Please see my link to demo site: efc21c12.ngrok.io

    Thank you.

    #495082
    Janine

    I suppose the site title could stay the same. It is the tagline that is too large.

    Is there any way I can control the font size of both so that I can play around until it looks right? Thank you.

    #495083
    Janine

    Also, additional CSS in the Customizer is telling me that there are two errors. Thank you.

    #495428
    Leo
    Staff
    Customer Support

    It should work but again I’m not seeing it being added.

    Edited the CSS above so the tagline is included.

    You will need to fix the CSS mistakes – it’s stopping the CSS from being executing.

    #495520
    Janine

    Hi, Leo.

    I used the edited code above and that did the trick, except that I’m still getting this error:

    Expected LBRACE at line 99, col. 5.

    It is flagging the period before main-title.

    What should I do?

    Thank you.

    #495555
    Janine

    And I just noticed that it change the size of the tagline when I’m in Desktop view. (Site title still seems to be the 66px I set in Typography.)

    See link to demo site: efc21c12.ngrok.io

    Thank you.

    #495654
    Leo
    Staff
    Customer Support

    Edited the code above to correct the syntax error: https://generatepress.com/forums/topic/mobile-header-7/#post-494901

    #495749
    Janine

    Thanks, Leo.

    #495768
    Leo
    Staff
    Customer Support

    No problem!

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.