Hello!
Is there a way to change the font for the "edit" button on a Wiki? I'm trying to make it Raleway (all caps) on the Adele Wiki, but it's not working. Any suggestions?
Thanks!
Hello!
Is there a way to change the font for the "edit" button on a Wiki? I'm trying to make it Raleway (all caps) on the Adele Wiki, but it's not working. Any suggestions?
Thanks!
AdorableDarling wrote:
The following CSS changes font of all buttons to Raleway and uppercase (I am quite sure it applies to all of buttons, but even so, if it misses any, let me know ^.^;):button, .wikia-menu-button, .wikia-button, input[type="submit"] { font-family:Raleway; text-transform:uppercase; } .wikia-menu-button li { font-family:Arial; text-transform:initial; }
Hey bud, try this instead, Adorable Darling gave you script that turns it to Arial. :P
button, .wikia-menu-button, .wikia-button, input[type="submit"] { font-family:Raleway !important; text-transform:uppercase !important; } .wikia-menu-button li { font-family:Raleway !important; text-transform:initial !important; }
Hope that helps, bruv!
.wikia-menu-button, #WikiaPage .wikia-button, button, .button, input[type="submit"], .wikia-menu-button.secondary.combined { font-family:Raleway; text-transform:uppercase; } .wikia-menu-button li { font-family:Arial; text-transform:initial; }
button, .wikia-menu-button, .wikia-button, input[type="submit"] { font-family:Raleway !important; text-transform:uppercase !important; } .wikia-menu-button li { font-family:Raleway !important; text-transform:initial !important; }Hope that helps, bruv!
AdorableDarling wrote:
I just now noticed the LI
that's a my bad! I first noticed the Arial and drew a quick connection to what I thought was the issue without really stopping to read what the actual issue was. :)
!important
Is "important" to use whenever you are changing something that is all over the wiki, otherwise you're going to end up with the wiki's natural look being displayed instead of what you want.
I tried that, and it still does not appear to be working for me.... Can someone else look at the site and the CSS and see if I'm doing something wrong?
Hmm, odd. It seems to be working just fine for me now. This is how the font in buttons appears to me:
Is this not how it is supposed to appear?
works for me - edit button text is in Raleway as intended
Adele Addict wrote: I tried that, and it still does not appear to be working for me.... Can someone else look at the site and the CSS and see if I'm doing something wrong?
Have you cleared your cache yet?
append ?action=purge
to the end of your URL to see if it has changed.
Purging a page doesn't clear your browser cache, it updates server-side stuff like the parser cache etc.
TK-999 wrote: Purging a page doesn't clear your browser cache, it updates server-side stuff like the parser cache etc.
it tends to work, the cache needs to be cleared for certain though.
The screenshots posted by AdorableDarling are how it's supposed to look, and it does show up, but on normal pages, the "Edit" button is still Arial for me. I'm going to keep playing with it because I don't know what the problem is, especially if it's fine for everyone else....
It appears fine on MediaWiki pages, but standard pages still show Arial. I don't understand what's wrong. Is there somewhere other than MediaWiki:Wikia.css that I'm supposed to put the code?