Import photo problem

I have these on two seperate files. While working on a SASS course i’m trying to upload an image to the live server but its not working! I’m importing the _home.scss syntax over to my main.scss.

.home {
    height: 100%;
    padding-top: 40vh;
    overflow: hidden;
    align-items: center;
    text-align: center;
    background: url('../images/model-1\ \(SASS\ training\).jpg');
    background-size: cover;
    
}
@import 'config';
@import 'home';

It autofilled it for me once i typed a forward slash. /images the rest was automatic.

Correct. Just curious tho why it autofills it that way if the path isn’t correct?

It’s not transpiling the scss into css. I have the transpiled css for my main.scss but not for the _home.scss. It WAS there but i renamed it and then i saved and nothing.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.