[Resolved] Any Plans to Support Global (Tablet/Mobile) Fonts?!

Home Forums Support [Resolved] Any Plans to Support Global (Tablet/Mobile) Fonts?!

Home Forums Support Any Plans to Support Global (Tablet/Mobile) Fonts?!

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • #678348
    Jamie

    Pleeeeeease. Haha.

    #678652
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Different font families on tablets and mobile? Or?

    #678654
    Jamie

    My bad for not being clear. πŸ™

    I mean, global font sizes. As far as I can see, you’re only able to set a global font size for desktop, and not tablet/mobile?

    Maybe I’m wrong (hopefully). πŸ˜‚

    #678656
    Tom
    Lead Developer
    Lead Developer

    Ah, we add mobile font size options for some of the larger font sizes (site title, h1, h2), but we don’t add them everywhere.

    Which elements do you find yourself needing separate options for?

    #678658
    Jamie

    Ahhh, I just found the mobile settings for mobile!

    In answer to your question, the main body copy! πŸ™‚ (under Typography > Body)

    #678827
    Tom
    Lead Developer
    Lead Developer

    Interesting – are you needing a larger font size on mobile?

    Usually I’ve found that what works on desktop works nicely on mobile as well, but there are always exceptions πŸ™‚

    #679008
    Jamie

    Haha, smaller actually!

    tbh, I’m probably overthinking it, and attribute this to my OCDic nature lol. I’ve restored everything to a single font size. πŸ˜… πŸ’ͺ🏼

    #679021
    Jamie

    Deleted.

    #679443
    Tom
    Lead Developer
    Lead Developer

    I’ll definitely keep this in mind πŸ™‚

    #735488
    Elia

    I agree, could you please include the option to make the Mobile fonts smaller than the Desktop? This is definitely would be better for usability.

    Thanks a lot

    #735693
    David
    Staff
    Customer Support

    Hi there,

    GP provides font sizing for Mobile and Desktop. As explained here:

    https://docs.generatepress.com/article/typography-overview/#font-size

    #735741
    Elia

    Hi thanks,

    But as discussed above there is no option for the mobile body text and other elements

    #735796
    David
    Staff
    Customer Support

    This is something that we are looking at but it is some very simple CSS to accomplish.

    #740873
    Elia

    Thanks. Could you please give me the CSS to change the Mobile fonts? I need it for the normal body text pages, blog posts, widgets and comments

    #741276
    David
    Staff
    Customer Support

    So something like this, body covers the vast majority of paragraph elements:

    @media (max-width: 420px) {
        body  {
            font-size: 16px;
        }
        .widgets {
            font-size: 16px;
        }
    }

    You can increase the max-width property to: 768px to include these changes on tablet. Currently this code will cover the plus size Mobiles.

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