Posted by Background not working

Tullus ButtermilkG2
HIATUS (#363520)

True King
View Forum Posts


Posted on
2023-01-27 13:04:41
As the title, I can't get my background image to work. I am just starting to do my own custom CSS and can't figure out what I am doing wrong. It all looks right.

body {background: url('https://i.imgur.com/56Usr0H.jpg') top center fixed; background-size: 100%; font-family: 'lato'; color: black}



Hrt Icon 0 players like this post! Like?

🌱 mooshi (#194597)

Aztec Knight
View Forum Posts


Posted on
2023-01-27 13:07:00
hi! do you still need help?



Hrt Icon 0 players like this post! Like?

Tullus ButtermilkG2
HIATUS (#363520)

True King
View Forum Posts


Posted on
2023-01-27 13:07:58
Yup



Hrt Icon 0 players like this post! Like?

🌱 mooshi (#194597)

Aztec Knight
View Forum Posts


Posted on
2023-01-27 13:11:34

@import url('https://fonts.googleapis.com/css?family=Lato&display=swap');
body {
background: url('https://cdn.discordapp.com/attachments/1005546035684323420/1068623049055801434/Capture.PNG) center center fixed;
background-size: 100%;
font-family: 'Marmelad', sans-serif;
color: black;
}

give this a go?



Hrt Icon 0 players like this post! Like?

Tullus ButtermilkG2
HIATUS (#363520)

True King
View Forum Posts


Posted on
2023-01-27 13:17:43
Yup, seems to be doing something. Not with the image I want to use but it is changing at least.



Hrt Icon 0 players like this post! Like?

Tullus ButtermilkG2
HIATUS (#363520)

True King
View Forum Posts


Posted on
2023-01-27 13:21:37
Oh, there it goes. Weird. Thanks for the help. This version somehow worked:

body {
background: url('https://i.imgur.com/56Usr0H.jpg') center center fixed;
background-size: 100%;
font-family: 'Lato';
color: black;
}



Hrt Icon 0 players like this post! Like?







Memory Used: 621.03 KB - Queries: 0 - Query Time: 0.00000 - Total Time: 0.00353s