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 8528199
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T08:44:56+00:00 2026-06-11T08:44:56+00:00

When you add @font-face into your site’s single css file where is the best

  • 0

When you add @font-face into your site’s single css file where is the best place to put it? Top of the css file? Bottom?

If you put it at the top I would think it would slow down the loading of the css. If you add to the bottom then all the text would load the fall back fonts until the fonts were loaded which wouldn’t be optimal either. So when using @font-face and not TypeKit, GoogleFonts, etc, where should you put it?

*Update – To reaffirm the above this is in reference to where to put "@font-face{font-family:'Ave Regular';src:url('fonts/ave-regular.eot?#iefix')....etc" in the css file, not where to put the body "{ font-family: fontname, arial, serif } etc". And that I understand it “can” go anywhere and work, and whether I put at top or bottom or in the middle won’t make “much” of a difference but looking for which is better no matter how marginally or if it one way is better depending on certain use cases.

  • 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-11T08:44:58+00:00Added an answer on June 11, 2026 at 8:44 am

    If you put it at the top I would think it would slow down the loading of the css.

    No, it does not. The browser isn’t going to wait to download the fonts first before loading the rest of your stylesheet. It’ll start downloading the fonts asynchronously, but those font downloads don’t interfere with anything but page rendering (see FOUT).

    If you meant to say that having the rules at the top would slow it down because the browser has to download the rules first before the rest of your stylesheet, that really doesn’t matter unless you have tens of kilobytes of @font-face rules (very, very, very unlikely).

    There are no rules governing where to place @font-face in a stylesheet, but I generally keep most at-rules at the top for organizational purposes.

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

Sidebar

Related Questions

Can someone explain how can I add custom font, css classes styles to Contribute?
$(b).bind(contextmenu,function(e){ thiselementselected = e.target $(#add).bind(click,function(e){ thiselementselected.css(font-color, red); return false }); $(#remove).bind(click,function(e){ thiselementselected.css(font-color, ); return
i have to add custom font file .Name of file if @sample font.ttf.I do
Hi I am trying to learn to use font-face to add a different font
I am designing a website (e.g. mywebsite.example ) and this site loads font-face fonts
Will I have copyright problems with Microsoft if I add the @font-face CSS3 property
Andalus custom font not work in UITableViewCell . Steps followed: Add font file name
What is the recommended way to add a @font-face stylesheet rule through a chrome-extension?
i am able to add a custom font, called jelly beans.ttf i am able
How can I add a second line (smaller font) below the navigationBar title as

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.