Hey guys so I’ve been messing with CSS for far too long now and I can’t get this to work for some reason.
I’ve taken the image ID from the URL in drive, and it’s set to public. And I put it into this:
body {
background-image: url(‘google drive url’);
background-repeat: no-repeat;
background-position: center;
background-size: cover;
}
^ I’m on mobile so visualize without the spaces.
It works for images from image hosting sites, but for reason it will not work with Google drive and I don’t know why.
If no one else knows, do you guys know of good image sites to use instead? I’ve never used Imgur or anything of the like before.
Thank you for your help!
Why on earth are you hosting the image on Google Drive? Just copy the image to Blogger. Save the headaches.
Anyway you might be running into a cookie isssue: https://workspaceupdates.googleblog.com/2023/10/upcoming-changes-to-third-party-cookies-in-google-drive.html
Just copy it to Blogger. Just upload it to a draft post and grab the link from there.