Replies

Mar 8, 2022 4 years ago
thundercat
User Avatar

hi any good code around to change the background pic of my user profile pls help ty,

Mar 10, 2022 4 years ago
spacemage
is fashionable
User Avatar

Just a note before, the code you tried on your profile needs to be surrounded by style tags to be treated as CSS, otherwise it's treated as plain text. Below is what it should be like. <style>CSS HERE</style>



Below is one way to make do a background, this is if you literally want to use a picture for the background. Just replace "URL_HERE" with the url of the image you want.

I set background to "cover", this will resize the image the best it can to cover the background but this can cause some stretching or cut off usually not bad at all if the image is appropriate size and aspect. background-repeat: no-repeat, is to stop the image from repeating which in this case is not necessary cause what size is set to but left it in just cause it might be useful if you decide to play with the values a bit <style> html { background-image: url(URL_HERE); background-size: cover; background-repeat: no-repeat; } </style>

IF you just want to use a colour as your background than below should work just fine for that <style> html { background-color: blueviolet; } </style>

I hope this helps, if not please let me know, or if you want me to explain or go into detail on anything or have further questions please don't hesitate to ask.

I made a forum group for CustomCSS and more

Apr 22, 2023 2 years ago
QueenHeart
is the pumpkin king!
User Avatar
Jackie Boy

This is just the post I was looking for! Thank you for the helpful information. Quick question; where should I put this coding? I tried plugging it into the edit profile page and it didn't work. I'm very new to this, I'm sure this is a silly question lol.

Apr 23, 2023 2 years ago
spacemage
is fashionable
User Avatar

EDIT ooops wrong reply to post

FIX: you need the profile widet on your profile is there one there????

I made a forum group for CustomCSS and more

Apr 23, 2023 2 years ago
QueenHeart
is the pumpkin king!
User Avatar
Jackie Boy

I got it figured out! Sorry lol, it was just the image code i was having problems with, but i think it's because I didn't have my image on a host site. Thank you for your help!

Please log in to reply to this topic.