Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

216
Views
font family doesn't change after removing the family completely

I imported and defined a font called Vazirmatn locally in my Nextjs project now I want to get it from google fonts the problem is that I removed any CSS mentioning the font and removed the font files and any remote import of it but the font family is still the same on all the pages I check every CSS loaded into the page and I did not find any local or remote reference to the font

here is the code for the 404 page (the text is in my native language and font too)

import Image from "next/image"

export default function() {

    return (
        <>
        <div className='w-full h-full flex justify-center mt-7'>
        <Image src={'/404-page-not-found.svg'} width={'500px'} height={'500px'} ></Image>
        </div>
        <p><span style={{color:'#00ADB5'}} >خطای 404</span> نتونستیم صفحه ای که میخواستی رو پیدا کنیم</p>
        </>
    )
};

and here is my global.css

@tailwind base;
@tailwind components;
@tailwind utilities;

/* @import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100;200;300;400;500;600;700;800;900&display=swap'); */

html,
body {
  padding: 0;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
  Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif !important;
    overflow-x: hidden;
}

a {
  color: #04cc;
  text-decoration: none;
}

* {
  box-sizing: border-box;
}

#__next {
  width: 100vw;
  height: 100vh;
}

span[data-slate-placeholder="true"] {
  opacity:0.5 !important;
}

.ck-editor {
  width: 50% !important;
}

li {
  margin-right: 15px;
}

ul li {
  list-style-type: disc;
}

this is how the page looks

enter image description here

this is how i want it to look

enter image description here

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

The browser is still rendering the old font because it is still running the same code on the page.

You need to go into your browser settings and clear your cache. It should be with the settings to delete your browser history and cookies.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!