Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8603449
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T02:19:31+00:00 2026-06-12T02:19:31+00:00

Probably a weird question and after your answers I might be ashamed for asking

  • 0

Probably a weird question and after your answers I might be ashamed for asking this.

I have a specific font embedded on my website (via @font-face) this font is used for a section that is only visible on wider resolutions (desktops). On Smartphones for example, this section is not visible (display:none).

The @font-face rule is not defined within a media-query but right at the beginning of my stylesheet.

I wonder now if it would be possible to avoid loading this embedded font-file if I’m viewing the site on a mobile device.

You know. The font-file has a view kb and I want my site to be as fast as possible. Since the font wouldn’t even be needed on my mobile version I wonder if

1.) the font is even loaded at the moment? I have no idea how to test this on my iPhone. Since the section where it is used is set to display:none I don’t get any feedback.

2.) If it is loaded (and I guess so) would it be possible to set this @font-face declaration inside a media-query with max-width : 640px (e.g. iPhone) and the files wouldn’t be loaded in this case?

Any ideas on that matter?

thank you in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T02:19:33+00:00Added an answer on June 12, 2026 at 2:19 am

    It seems to work. Didn’t test it in older Versions of IE (I’m using modernizr, etc. for media-query support in older brosers) but it might work.

    I’m defining the @font-face rule directly inside the mediaquery where it is needed. I tested it with all modern browsers. There is no request if the browser window is very small and the media-query isn’t triggered. Once I resize the window to a larger with (where I need the font) it is loaded.

    Just what I wanted.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have a quite weird question which probably has no practical use but the
This is probably a stupid question but will ask anyway sine I have no
I feel like this is probably a stupid question... but anyway I have this
This is probably a really weird question... but is there a non-git Github? I
This is weird and probably not possible but I'll ask anyway. I'm making this
Probably a very trivial problem. I have an object that looks like this: @PersistenceCapable
Ok, so this question is a bit weird, and kinda rubs me the wrong
This is probably a dumb question, but.. Any ideas how to insert BrowserCMS portlet
probably a weird question, but bear with me (-: when Perl loads a module
I have this weird behavior in C which I do not understand. It is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.