New Landing How can we help? Atelier Mobile Titles too big

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Atelier
  • #242330
    leggero
    Member
    Post count: 107

    Hi Support
    My H1 and H2 titles on the mobile (iPhone 5 & 6) are way to big, they don’t adjust (still 36px).

    I tried this code, but it’s not working:

    @media only screen and (max-width: 767px)
    h1, h2 {
    font-size: 20px;
    }

    Any ideas?

    Thanks a lot and best regards

    Caspar

    Attachments:
    You must be logged in to view attached files.
    #242335
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Your code is missing the brackets, it should be:

    @media only screen and (max-width: 767px) {
      h1, h2 {
        font-size: 20px;
      }
    }

    Thanks.

    #242454
    leggero
    Member
    Post count: 107

    Hi David

    Also with the bracket it doesn’t apply: http://www.responsinator.com/?url=pepshot.ch%2Fde

    and see screenshot.

    Any thoughts?

    Thanks!

    Attachments:
    You must be logged in to view attached files.
    #242473
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    try this instead:

    @media only screen and (max-width: 767px) {
    .spb-asset-content h1 {
      font-size: 20px;
      line-height: 26px;
    }
    }

    – Kyle

    #242490
    leggero
    Member
    Post count: 107

    Perfect, works!

    Thanks Kyle,

    Caspar

    #242503
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Great! No problem 🙂

    – Kyle

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

You must be logged in to reply to this topic.