FANDOM


Through personal CSS and JavaScript, you can change the way FANDOM looks and behaves. Things like fonts, colors, and positions of page elements can be altered. But it will only affect the way that you see FANDOM when you're logged into your account. And you have to make alterations to a few, specific user pages, as well as one account preference.

CSS Edit

To customize how the site looks for you using CSS, create and edit Special:MyPage/global.css on Community Central. This will apply the changes wherever you go on FANDOM.

If you want to apply personal CSS on just one community, visit Special:MyPage/common.css on that community.

You can even get more specific and apply your code to a single skin on a single community: Special:MyPage/wikia.css for the default skin, and Special:MyPage/monobook.css for Monobook users.

JavaScript Edit

You must manually enable personal JS in your preferences before you'll be able to see the effects of changing your personal JS. Please understand the implications of turning the feature on by reading all the notes below. The option can be found on the Under the Hood tab, under "Advanced display options".
PersonalJSPreference

The personal JS preference

To customize how site looks for you using JS, create and edit Special:MyPage/global.js on Community Central. This will apply the changes wherever you go on FANDOM.

If you want to apply personal JS on just one community, visit Special:MyPage/common.js on that community.

You can even get more specific and apply your code to a single skin on a single community: Special:MyPage/wikia.js for the default skin, and Special:MyPage/monobook.js for Monobook users.

Notes
  • Before enabling personal JS on your account for the first time, please double-check any existing personal JS you have, and make sure you are happy with it.
  • JS errors can break basic functionality—be careful! (But there may be an easy way out!)
  • Please avoid including JS that you do not understand, nor import from sources that you do not fully trust or that are not secure.
  • FANDOM cannot be held responsible for any issues that occur as a result from the use of personal JS. It is your responsibility to maintain your personal JS (and CSS).
  • Note that "personal JS" pages are currently considered to be: global.js, common.js, wikia.js, chat.js, monobook.js, and uncyclopedia.js.

Additional notes Edit

  • Personal CSS and JS pages are best edited in the source editor.
  • As noted on the customization policy, personal CSS and JS is an area you can make any tweaks you like (so long as they do not adversely affect any other users).
  • Only account owners can edit their own CSS and JS pages - other users on a community, including admins, cannot edit another user's personal CSS and JS pages.

You can also target specific communities in your global CSS and JS:

  • CSS: a wiki-specific class is available on the <body> tag, based on the database name of a community. The format is: wiki-[database name].
  • JS: the wgDBName (database name) variable can be used to target a community.

Troubleshooting Edit

If your view of FANDOM gets weird, there's an easy way to test whether it's your personal code causing the problem.

Just add ?useusercss=0 or ?useuserjs=0 to the end of your current URL. If things snap back into place, you'll know immediately that the fault is somewhere in your personal code.

See alsoEdit

Further help and feedback Edit