Fandom

Community Central

Admin Forum:Cannot get DIV to recognize class

18,994pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

This Forum has been archived

Forums: Admin Central Index Technical Help Cannot get DIV to recognize class
Central's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
Note: This topic has been unedited for 1366 days. It is considered archived - the discussion is over. Do not add to unless it really needs a response.



Hi, I'm the admin of the ZooMumba Wiki. I'm trying to implement a class I've made in my MediaWiki:Wikia.css file. Basically, I can get the css to work if I add it in-line (to style="") but I get no style changes when I try to use the class. I must be overlooking something. I've refreshed the cache to reload the css the right way.

MintMouse 13:37, January 13, 2012 (UTC)

Could you provide a link to the template? --Dser (wall | email) 13:39, 1/13/2012
Yes, it's http://zoomumba.wikia.com/wiki/MediaWiki:Wikia.css
I've included both the in-line style and what isn't working with the class here...
http://zoomumba.wikia.com/wiki/Zoomumba_Wiki#Notes
MintMouse 13:46, January 13, 2012 (UTC)
Remove the <style></style> tags from your Wikia.css. They are not needed and are causing the problem. Same rule applies for scripts by the way. Sovq 15:04, January 13, 2012 (UTC)
Thanks... I guess I thought that was there by default before I started. I must have copy/pasted a code example with that. Problem solved.
MintMouse 15:20, January 13, 2012 (UTC)

Also on Fandom

Random Wiki