Forum:Wikia style button

Is there any way to make the button here (the one which preloads episode) look like the standard wikia buttons?


 * Give it the  class. You might need JS to do that.
 * Have got the button, but how do I make it link?


 * You can try using the button class instead, like this: [ Episode ]
 * The downside is that the text color has to be defined manually. Sovq 17:42, March 30, 2011 (UTC)


 * EDIT: Also, createplates have been recently removed. They have been replaced by the Layout Builder.
 * Thanks, the button works great.
 * PS, it's not a 'real' createplate. I intend to move it to the templates section soon (though I would rather keep the current name)
 * Any way to remove the underline?


 * Since this is only a 'cheat' on how to get the button look, the code is not structured like the 'normal' buttons. Instead of the link ( tag) using the "button" class, here, the link is within a span block using that class. To make the underline disappear and make the text color white by default (or use the default text color for buttons on any particular wiki), you would need to make the link use the "button" class. I can't help you with that, but I imagine JavaScript could solve the problem, unless I'm missing something. I'm just wondering if it's worth it though. Sovq 18:49, March 30, 2011 (UTC)
 * In that case, forget it. It's just one of those asthetic things which aren't really important.

Hi, I know this is an old post but I was searching for the same thing a while back and have now worked out how to remove the underline from the buttons so I wanted to add it for the benefit of others also searching...

Simply add the following code to your MediaWiki:Wikia.css .button a:hover { text-decoration:none; } While you're in the .css you can add the following so that the text color doesn't always have to be defined in-line. .button a { color: black; } I've chosen black text but obviously you can change to what ever color mane or hex code you prefer.

 Jester  (Bubble Safari Wiki)   Message Me   edits made   Contributions  Signed: 10:44, 1/7/2012


 * You can simply do like, for example:  Main Page  -- Sam Wang (talk) 12:15, July 1, 2012 (UTC)