Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

214
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda