FANDOM


This Forum has been archived

Visit the new Forums
Forums: Index Support Requests Heading template
FANDOM's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.

50px-Replacement filing cabinet.svg

Note: This topic has been unedited for 3294 days. It is considered archived - the discussion is over. Do not add to unless it really needs a response.

How come this heading template is colored and when I copied the same exact codes into another wiki, it looks like this ? Mand'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; */
}
--Dser (wall | email) 23:08, 9/17/2011
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'alor Skyobiliviator The Devastator
The tag beginning the template says <h2 class="heading">. The word in quotations is used to transmit the css to the template, but you changed .heading { ... in your Wikia.css to .HeadingA { .... Copy the css from above and do not alter it, and the template should look the way want it. --Dser (wall | email) 00:04, 9/18/2011
Is this how it suppose to look? It still don't work. Mand'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'alor Skyobiliviator The Devastator 00:36, September 18, 2011 (UTC)
Odd, now it works...Mand'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'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 · contr) 17 Sep 2011 5:41 PM Pacific
How??? I want this ONLY on HeadingB...Mand'alor Skyobiliviator The Devastator 00:42, September 18, 2011 (UTC)

(Reset indent) First you will need to find a grey gradient. --Dser (wall | email) 00:48, 9/18/2011

Um, can some one make it for me? Top: silver, bottom: Black (changed my mind) Mand'alor Skyobiliviator The Devastator 01:24, September 18, 2011 (UTC)
And where to find one? Mand'alor Skyobiliviator The Devastator 01:32, September 18, 2011 (UTC)
Will this image do? --Dser (wall | email) 01:50, 9/18/2011
Indeed! Now how to hook it up? Replace URL on the .css?Mand'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 headingA to headingB and change the URL to
http://images1.wikia.nocookie.net/__cb20110918014754/central/images/thumb/5/58/Gradient.png/32px-Gradient.png
--Dser (wall | email) 02:17, 9/18/2011
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'alor Skyobiliviator The Devastator 02:20, September 18, 2011 (UTC)
I'm glad to help! The new templates look awesome! --Dser (wall | email) 02:26, 9/18/2011
Wait...you looked? *Blushed* Mand'alor Skyobiliviator The Devastator 02:36, September 18, 2011 (UTC)
Yeah. I wanted to see what they looked like.
--Dser (wall | email) 02:40, 9/18/2011
New problem...the letters aren't evenly sized or bold...Mand'alor Skyobiliviator The Devastator 03:19, September 18, 2011 (UTC)
(Reset indent) I think it might be because Template:Maintop hasn't ended. At the bottom of that template, put in |}. --Dser (wall | email) 03:36, 9/18/2011
Nope, not working...it even scooted all the contents to the right! Mand'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'alor Skyobiliviator The Devastator 04:32, September 18, 2011 (UTC)
There is some good advice here. --Dser (wall | email) 23:59, 9/18/2011
Community content is available under CC-BY-SA unless otherwise noted.