Forum:Heading template

How come this heading template is colored and when I copied the same exact codes into another wiki, it looks like this ? Mand&#39;alor Skyobiliviator The Devastator 22:47, September 17, 2011 (UTC)


 * In their MediaWiki:Wikia.css, they use the following to make the heading look the way it does:

.heading { padding:0.2em 0.4em; margin:0 0 10px 0; background: url('http://images4.wikia.nocookie.net/widowspeak/images/8/86/Tfu_gradient.png') repeat-x; color: white; font-size:120%; font-weight:bold; text-align:left; width:100%; /* border:1px solid #ee7a06; */ }
 * Not working...does it happens because I called it "HeadingA"? And if it does, what can I do to change it to make it work? Mand&#39;alor Skyobiliviator The Devastator
 * The tag beginning the template says . The word in quotations is used to transmit the css to the template, but you changed   in your Wikia.css to  . Copy the css from above and do not alter it, and the template should look the way want it. --
 * Is this how it suppose to look? It still don't work. Mand&#39;alor Skyobiliviator The Devastator 00:28, September 18, 2011 (UTC)
 * If you noticed, the template page I made is not called Heading, it is called HeadingA. Mand&#39;alor Skyobiliviator The Devastator 00:36, September 18, 2011 (UTC)
 * Odd, now it works...Mand&#39;alor Skyobiliviator The Devastator 00:36, September 18, 2011 (UTC)
 * Next thing: How to make exactly the same thing but instead of blue and whit it is gray and white? Mand&#39;alor Skyobiliviator The Devastator 00:37, September 18, 2011 (UTC)
 * The gradient image used in the CSS has blue baked into the image, so you'd have to point to a new image with gray instead of blue. -- Fandyllic (talk &middot; contr) 17 Sep 2011 5:41 PM Pacific
 * How??? I want this ONLY on HeadingB...Mand&#39;alor Skyobiliviator The Devastator 00:42, September 18, 2011 (UTC)
 * How??? I want this ONLY on HeadingB...Mand&#39;alor Skyobiliviator The Devastator 00:42, September 18, 2011 (UTC)

First you will need to find a grey gradient. --


 * Um, can some one make it for me? Top: silver, bottom: Black (changed my mind) Mand&#39;alor Skyobiliviator The Devastator 01:24, September 18, 2011 (UTC)


 * And where to find one? Mand&#39;alor Skyobiliviator The Devastator 01:32, September 18, 2011 (UTC)

--
 * Will [[Media:Gradient.png|this]] image do? --
 * Indeed! Now how to hook it up? Replace URL on the .css?Mand&#39;alor Skyobiliviator The Devastator 02:08, September 18, 2011 (UTC)
 * Add another part to Wikia.css for Template:HeadingB. Copy and paste the css from before, but change the  to   and change the URL to http://images1.wikia.nocookie.net/__cb20110918014754/central/images/thumb/5/58/Gradient.png/32px-Gradient.png
 * Works now! Thank you so much :) ! Sorry for the slow response, I was working on a favicon on gimp and paint, but I just don't know how to use gimp (LOL) if was to fustrating!!! Mand&#39;alor Skyobiliviator The Devastator 02:20, September 18, 2011 (UTC)
 * I'm glad to help! The new templates look awesome! --
 * Wait...you looked? *Blushed* Mand&#39;alor Skyobiliviator The Devastator 02:36, September 18, 2011 (UTC)
 * Yeah. I wanted to see what they looked like.
 * Yeah. I wanted to see what they looked like.
 * New problem...the letters aren't evenly sized or bold...Mand&#39;alor Skyobiliviator The Devastator 03:19, September 18, 2011 (UTC)
 * I think it might be because Template:Maintop hasn't ended. At the bottom of that template, put in . --


 * Nope, not working...it even scooted all the contents to the right! Mand&#39;alor Skyobiliviator The Devastator 04:23, September 18, 2011 (UTC)


 * Wait, now it does....and is there a way to advertise this wiki without the content team or other teams? Mand&#39;alor Skyobiliviator The Devastator 04:32, September 18, 2011 (UTC)
 * There is some good advice here. --