Forum:Edit bar help

How can I suppose to make the photo of the edit tab to change to another photo instead of a pencil. Thanks!

12:52, July 4, 2012 (UTC)


 * You should be able to do that with CSS:


 * The first rule will need a bit of fine-tuning - depending on your image --


 * It won't work. 01:19, July 5, 2012 (UTC)


 * "It won't work." doesn't give me much to work with. --


 * I use css to do it. I use a 19x19 pixel image (the same size as the original pencil) Try adding this code to your wikia.css page:
 * .sprite .edit-pencil { background : none transparent \9 !important; }

.sprite .edit-pencil { background : url <span class="br0" style="color:rgb(0,170,0);">( <span class="st0" style="color:rgb(255,0,0);">'image url' <span class="br0" style="color:rgb(0,170,0);">) <span class="kw2" style="color:rgb(153,51,51);">no-repeat !important<span class="sy0" style="color:rgb(0,170,0);">; <span class="br0" style="color:rgb(0,170,0);">} Utter solitude 02:12, July 5, 2012 (UTC)

Remember to replace " http://path/to/your/image " with the image url (like  http://images.wikia.com/central/images/a/aa/Silver_taskstar.png ) -- Sam Wang (talk) 02:14, July 5, 2012 (UTC)

I've uploaded a 19x19 pixel image and yes, I've copied your codes but still don't work. I've done everything that I should do and you asked me to do but still don't appear the image. Why? Any problems occur in the Mediawiki:Common.css of Wild Ones Wiki? 03:54, July 5, 2012 (UTC)
 * Can you give a link to the wiki?  http://i151.photobucket.com/albums/s145/urbancowgurl777/UltimateSupreme2212-3.png  (T@lk) 03:59, July 5, 2012 (UTC)


 * MediaWiki:Common.css is the wrong file. You need to edit MediaWiki:Wikia.css. The CSS files and their meaning are listed here. --


 * It works, thanks! 10:23, July 5, 2012 (UTC)