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

151
Views
Why with a new ejs the css is not applying?

I have an application express.js. In the views folder I have a partials folder and layout folder. I am using layouts = require("express-ejs-layouts"); in my server.js. In partial I have a header.ejs and footer.ejs. and in layout folder i have a file including the following code:

<%- include('../partials/header'); %>
<%- body %>
<%- include('../partials/footer') %>

Indeed, in views i have several .ejs files and all the routes works fines, I can render my pages where They apply the css already existing in a public folder.

The problem when I add a new .ejs in views. I can render this page but the css is not applying.

I dont know why. Any suggestion?

about 4 years ago · Juan Pablo Isaza
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!