This Forum has been archived

Visit the new Forums
Forums: Index Support Requests How to change the background image of specific articles?
FANDOM's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.

50px-Replacement filing cabinet.svg

Note: This topic has been unedited for 2239 days. It is considered archived - the discussion is over. Do not add to unless it really needs a response.

Hi. Is there a way to change the background image of specific articles? For example, If I wanted to change the background image of an article named Person, how would I do that? Thanks! --LSCStealthNinja 21:57, May 1, 2012 (UTC)

I think that's not possible without breaking the entire wiki. Probably in the CSS. RaTcHeT302 talk contribs 22:00, May 1, 2012 (UTC)

You can do that by adding some code to the MediaWiki:Wikia.css or MediaWiki:Common.css on the site where you want it to work:
In the code above, Person is the title of the page that you want to affect. If you wanted to affect a page with a title that contains spaces or special characters (such as title of this forum page), you would replace all special characters with underscores, like this: page-Forum_How_to_change_the_background_image_of_specific_articles
In your code, you would replace full-url-location-of-the-image with the actual url of your image. --Gardimuer { ʈalk } 03:58, May 2, 2012 (UTC)
Thank you! :)

--LSCStealthNinja 12:56, May 2, 2012 (UTC)