Forum:Changing backgrounds?

Just curious if anyone might know a way to take a page like this http://animalparty.wikia.com/wiki/Cakeland and on the inside area...



(like the area in this picture here what is surrounded in red)

take it and put different backgrounds for different pages that are designed in a similar manner?

Moranna Valdis 08:22, June 10, 2011 (UTC)


 * You need to add

 body.page-Cakeland .WikiaMainContent {background-image: url('URL OF BACKGROUND HERE')}


 * to your MediaWiki:Wikia.css page. Add one such entry for each page, replacing 'Cakeland' with another article name and  with a background image url. You could also use   without the   part, if you want all pages to share the same background. Keep in mind that not all articles look good with such backgrounds. — Sovq 08:33, June 10, 2011 (UTC)


 * How would you not repeat the same image? Another thing: use for userpages? Oh, I think you've forgotten the } at the end. Bermuda  Contact Me!  09:42, June 10, 2011 (UTC)


 * Yup, one "}" was missing, fixed, thanks. Add  as another property to avoid it repeating. The code for adding a background on ALL User namespace pages would be (with a no-repeat example):

 body.ns-2 .WikiaMainContent { background-image: url('URL OF BACKGROUND HERE'); background-repeat:no-repeat; }
 * or for a PARTICULAR user page (replace USERNAME with a valid username):

 body.page-User_USERNAME .WikiaMainContent { background-image: url('URL OF BACKGROUND HERE'); background-repeat:no-repeat; }


 * — Sovq 10:22, June 10, 2011 (UTC)


 * Thanks a lot! That helped. :) Bermuda  Contact Me!  18:07, June 10, 2011 (UTC)