I have never used CSS before and am looking for a little help, I would like to change the background color for my pets pages and when I have tried using the codes I found on various help pages here no change seemed to happen, either the coding would simply appear on the pets page as I had it written down or nothing would appear at all. I have been having issues with images loading on this site, so I am not sure if they worked or not. At the moment I am just looking for a simple back ground color changing code to see if I can figure it out and get it working, do I use color code 5a5453 like this or something else?
Dear optimist pessimist and realist, while you where busy arguing about that glass of water, I drank it. Sincerely The Opportunist.
Hello! Not sure what you've tried before, but if it's showing up on the pet page I wonder if you were using the style tags? All CSS should be grouped together inside of style tags in order for it to work, otherwise it just gets printed to the page.
The code below should change your background. If you want to branch out a bit, this thread has some great CSS snippets to do a variety of things. I'd also suggest taking a look at code academy's free CSS course to give you a little overview how CSS works and how it's formatted, etc. Good luck!
<style>
body {background-color:;}
</style>
because of the way pet pages are formatted by default, if all you want to do is change the background color while keeping the layout exactly the same (with the default subeta sidebar and header, etc.) then you want to be applying the background color to the 'content' div, and as mentioned, remember to put all CSS between style tags. so you would do:
{background:}i definitely recommend checking out this guide by if you want to eventually get more complex in your profiles, as well as the many informative threads in this subforum. i can also (try to) answer any questions you may have.
Thank you both for the help, eventually I will try getting into more detail but until then this is a start. It seemed the was what I was missing from the code as I can now see the change of color.
Also if you wanted to try changing yours
Dear optimist pessimist and realist, while you where busy arguing about that glass of water, I drank it. Sincerely The Opportunist.