I have tried everything and I am only trying to set a background image in my header. I have a separate css file, and nothing is appearing. I can use the link and it will take me to a separate page. Here is the code I am using, I have tried using URL of the link in front as well and double quotes.
/header style/
.header{
background-image: (‘https://cdn.glitch.com/318ef827-7a40-4655-a7db-cc7a5ada7a2f%2Fpetback.jpg?v=1615834175915’);
background-attachment: fixed;
background-size: cover;
background-position: center;
}
Whatever device you are using, is doing “smart” quotes instead of plain quotes
That’s what is messing it up
4 Likes
Great thanks! That fixed it
1 Like
Please mark my post as the solution!
2 Likes
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.