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 2647 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
I've included both the in-line style and what isn't working with the class here...
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)
Community content is available under CC-BY-SA unless otherwise noted.