Site logo

[Resolved] Responsive Layout – h1, h2,… too big on smartphones

Home Forums Support [Resolved] Responsive Layout – h1, h2,… too big on smartphones

Home Forums Support Responsive Layout – h1, h2,… too big on smartphones

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #54352
    Franz

    The headings h1, h2 are too big on smartphones.

    http://www.klavierspiel.com/smart-simulation.jpg

    How can I change this?
    I it possible to define the Font-size in em?
    would this handle the porblem?

    #54451
    Tom
    Lead Developer
    Lead Developer

    I’m currently looking into the best way to handle this by default.

    For now, you can define the sizes for mobile with this CSS:

    @media screen and (max-width: 768px) {
          h1 {
                font-size: 30px;
          }
          h2 {
                font-size: 25px;
          }
    }

    Adjust the sizes to your liking 🙂

    #54456
    Franz

    Thank you.

    #54499
    Franz

    How can I define that the smartphone ignores or changes the backgroundimage for the header?

    #54621
    Tom
    Lead Developer
    Lead Developer

    Same kind of thing:

    @media screen and (max-width: 768px) {
          .site-header {
                background-image: none;
          }
    }

    Or:

    @media screen and (max-width: 768px) {
          .site-header {
                background-image: url(URL TO DIFFERENT IMAGE);
          }
    }
    #54662
    Franz

    Great, thanks.

    #127506
    anamoore

    In which version will this be implemented by default?

    #127580
    Tom
    Lead Developer
    Lead Developer

    Not sure, changing things like this to the theme can make some people angry as it will change the look of their website on mobile.

    It’s also hard to tell what font size to make these elements, as it depends on your site design, and how long your titles are.

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