Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't change the background image in .CSS file #40

Closed
bazilk opened this issue Dec 5, 2017 · 2 comments
Closed

Can't change the background image in .CSS file #40

bazilk opened this issue Dec 5, 2017 · 2 comments

Comments

@bazilk
Copy link

bazilk commented Dec 5, 2017

Hi completely new to coding. been following a tutorial on using HTML and CSS temples. pretty much following it word for word even using the template they use in the tutorial (its a lighthouse labs tutorial btw) basically I can't seem to change the background image to another one in the CSS file. been driving me crazy as I 'm putting the info into the letter in the URL . Is there something I'm missing regarding the template. It does look to be updated compared to the one in the tutorial I'm watching

@eliakorkmaz
Copy link

Hey @bazilk, look out the used css files. One of the file normal .css and the other is .min.css, the project currently using .min.css and if you want to change background-image so change the background-image on the normal .css file and use the normal .css file in the index.html

Another solution is that, change your background-image in .css file then minimize it in web (you can find some website for this situation) and change the minimized files with minimized file which is already in project.

@hendrikschneider
Copy link

hendrikschneider commented Jun 9, 2018

Hi, you have to change the fbackground image in the files in the scss folder. Css files will be newly created every time you change run gulp. The background image is set by the url paramter:

background: url('../img/bg-masthead.png')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants