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

146
Views
Is there a reason as to why my background image is repeating when I put it in production in Netlify but not in react itself?

I have completed a project that has background images and when I'm in localhost the background image fits perfectly and does not repeat but when I try to add it to Netlify the website's background images does not fit perfectly and starts repeating.

crew CSS file:

.main-content-crew{
    height: 100vh;
    background-image: url('../../../images/crew/background-crew-desktop.jpg');
    width: 100vw;
}

the web page in localhost: localhost pic

the netlify webpage: Netlify pic

home page CSS file:

.main-content-home{
    background: url('../../images/home/background-home-desktop.jpg');
    min-height: 100vh;
    width: 100vw;
}

Localhost pic: Localhost pic

Netlify pic: Netlify pic

about 4 years ago · Santiago Trujillo
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!