Community Central
Community Central
(reply)
m (Archiving Admin Forums)
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
  +
{{ForumArchiveBox}}
{{Admin-Forumheader|General Questions}}
 
  +
  +
[[Category:General Questions|What is the CSS used for...]]
  +
<div class="forumheader" style="margin-bottom: .25em;">'''Forums:''' [[Admin Central:Forum|Admin Central Index]] '''→''' [[Admin Forum:General Questions|General Questions]] '''→''' What is the CSS used for...
  +
</div>
  +
<div style="text-align:center; margin-bottom: .5em; font-size:90%; border:1px solid #ccc; border-top: 0px; padding:0 4px;" >Wikia's forums are a place for the community to help other members.<br/> To contact staff directly or to report bugs, please use [[Special:Contact]].</div>
  +
 
<!-- Please put your content under this line. Be sure to sign your edits with four tildes: ~~~~
 
<!-- Please put your content under this line. Be sure to sign your edits with four tildes: ~~~~
 
If you require staff help, please use Special:Contact or community@wikia.com to be sure of a staff reply. -->
 
If you require staff help, please use Special:Contact or community@wikia.com to be sure of a staff reply. -->
Line 14: Line 20:
 
:::::Right click -> Inspect element, on the part you want to see. It won't always work, so you may have to move up, or down the list to find the right bit, but it will glow brown when you've got it. The CSS is in the menu to the right, or you can see the code for the page through a link above that CSS. I prefer to open it in a new tab for easier reading. {{User:Cåm/Signature}} 10:01, April 27, 2012 (UTC)
 
:::::Right click -> Inspect element, on the part you want to see. It won't always work, so you may have to move up, or down the list to find the right bit, but it will glow brown when you've got it. The CSS is in the menu to the right, or you can see the code for the page through a link above that CSS. I prefer to open it in a new tab for easier reading. {{User:Cåm/Signature}} 10:01, April 27, 2012 (UTC)
 
{{ri}}I'm sorry, but I don't quite know how to use Inspect element [[User:Sam Wang|Sam Wang]] ([[{{ns:3}}:Sam Wang|talk]]) 01:09, April 28, 2012 (UTC)
 
{{ri}}I'm sorry, but I don't quite know how to use Inspect element [[User:Sam Wang|Sam Wang]] ([[{{ns:3}}:Sam Wang|talk]]) 01:09, April 28, 2012 (UTC)
  +
  +
:Read these Firebug information pages if you haven't already:
  +
:*http://getfirebug.com/html
  +
:*http://getfirebug.com/css
  +
:Firebug isn't the only tool that allows you to inspect the css styling used in a page. The latest version of Firefox has [http://blog.mozilla.org/blog/2012/01/31/firefox-adds-powerful-new-developer-tools/ something like Firebug] already included with the browser. All you have to do is right click on an element and then choose "Inspect Element (Q)" from the menu that pops up. This will cause a bar to appear at the bottom of the page, and if you click on the "Style" button in that bar, a sidebar will appear which shows the CSS styles affecting the element that you chose to inspect.
  +
:Google Chrome has [https://developers.google.com/chrome-developer-tools/docs/elements something similar]. Right click on an element, click on "Inspect element" in the menu popup, and a bar will appear at the bottom of the page to display the html source and the css styles affecting it.
  +
:Internet Explorer has the [http://msdn.microsoft.com/en-us/library/dd565628%28v=vs.85%29.aspx "developer tools"] popup which basically works the same way. To access it, click the F12 button on your keyboard while you are viewing a page in Internet Explorer.
  +
:Safari also has [http://developer.apple.com/library/safari/#documentation/appleapplications/Conceptual/Safari_Developer_Guide/2SafariDeveloperTools/SafariDeveloperTools.html developer tools] which you can access by clicking "Show Web Inspector" in the Developer menu (after you have enabled it in your preferences).
  +
:--'''[[User:Gardimuer|Gardimuer]]'''&nbsp;<sup>[[User talk:Gardimuer|{&nbsp;ʈalk&nbsp;}]]</sup> 02:21, April 28, 2012 (UTC)
  +
::Gardimuer has covered far more browsers than I (I usually use chrome), but if it's any help I made a quick guide [[w:c:camtest:Admin Forum Help|here]]. I figured I'd put it on my test wiki to stop Central getting cluttered with unnecessary files, but hopefully it helps. {{User:Cåm/Signature}} 02:29, April 28, 2012 (UTC)
  +
:::You are actually wasting time teaching me how to do it myself. It could have taken much less time if you just copied it straight from it [[User:Sam Wang|Sam Wang]] ([[{{ns:3}}:Sam Wang|talk]]) 03:17, April 28, 2012 (UTC)
  +
::::I appreciate the time you put into helping me, but it wasn't what I needed [[User:Sam Wang|Sam Wang]] ([[{{ns:3}}:Sam Wang|talk]]) 03:22, April 28, 2012 (UTC)
  +
:::::I was going for the teach-a-man-how-to-fish-and-he'll-feed-himself-for-a-lifetime approach. Also it's not just a few lines of code - [http://images.wikia.nocookie.net/__am/51924/sass/color-body%3D%2523bacdd8%26color-page%3D%2523ffffff%26color-buttons%3D%2523006cb0%26color-links%3D%2523006cb0%26color-header%3D%25233a5766%26background-image%3D%252Fskins%252Foasis%252Fimages%252Fthemes%252Foasis.png%26background-align%3Dcenter%26background-tiled%3Dtrue%26background-fixed%3Dfalse%26page-opacity%3D100%26wordmark-font%3D/extensions/wikia/WikiaHomePage/css/WikiaHomePage.scss this] is the code for the page. What I did was show you how to isolate what you wanted from it. I'm not going to lie, copying the code for those boxes in particular probably won't work straight off. At a guess, they'll be dependant on something else, so it's easier in the long run to teach you rather than you bombard us with lots of extra questions that can be avoided. As Gardimuer said above, giving just those bits of code woul be of "dubious use anyway". How is showing you how to do something, and thus allowing you to do more of this sort of thing in the future, wasting time? {{User:Cåm/Signature}} 11:09, April 28, 2012 (UTC)
  +
{{ri}}Thanks! [[User:Sam Wang|Sam Wang]] ([[{{ns:3}}:Sam Wang|talk]]) 11:12, April 28, 2012 (UTC)
  +
:How about the JS for the remix thing? [[User:Sam Wang|Sam Wang]] ([[{{ns:3}}:Sam Wang|talk]]) 11:22, April 28, 2012 (UTC)
  +
::It doesn't work! [Template fetch failed for http://community.wikia.com/wiki/Template:User:Sam_Wang/sig?action=raw] 03:39, April 29, 2012 (UTC)
  +
:::Hello? Cam? Gardimuer? [[User:Sam Wang|Sam Wang]] ([[{{ns:3}}:Sam Wang|talk]]) 07:32, May 1, 2012 (UTC)
  +
  +
::::I can't help you if you don't provide an example/link to an example of what you tried to do and how it failed. Just saying "it doesn't work" is not enough information. --'''[[User:Gardimuer|Gardimuer]]'''&nbsp;<sup>[[User talk:Gardimuer|{&nbsp;ʈalk&nbsp;}]]</sup> 14:58, May 1, 2012 (UTC)
  +
  +
<small>reset indent</small> "I'm not going to lie, copying the code for those boxes in particular probably won't work", so in all honesty I'm really not surprised. I have zero experience with writing javascript, which I guess is what the remix button runs off. Nor do I have any experience with building web pages. If a full c/p job didn't work then I'm at a loss as to what to suggest. "It doesn't work" isn't exactly helpful for anyone who might be able to fix it either. {{User:Cåm/Signature}} 23:33, May 1, 2012 (UTC)

Latest revision as of 18:47, 1 March 2013

This Forum has been archived
Forums: Admin Central Index General Questions What is the CSS used for...
Wikia's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.


Do you know the css for the parts circled in red on this image (the little containers is just for one only; if you do not understand, please reply):

Forum circled parts

Sam Wang (talk) 05:02, April 27, 2012 (UTC)

Please provide a link to the page where you saw this. --Gardimuer { ʈalk } 05:18, April 27, 2012 (UTC)
www.wikia.com Sam Wang (talk) 05:29, April 27, 2012 (UTC)
There are many, many CSS styles that affect those elements. I could copy them all down, but it would take a long time and would be of dubious use anyway. I really suggest that you get a utility like Firebug so that you can examine the CSS of a page yourself when you need it. --Gardimuer { ʈalk } 07:56, April 27, 2012 (UTC)
I don't really understand how to use it. Can you copy it to me please? I don't feel it would be of dubious use, so can you copy it for me please? Sam Wang (talk) 08:30, April 27, 2012 (UTC)
Right click -> Inspect element, on the part you want to see. It won't always work, so you may have to move up, or down the list to find the right bit, but it will glow brown when you've got it. The CSS is in the menu to the right, or you can see the code for the page through a link above that CSS. I prefer to open it in a new tab for easier reading. User:Cåm/Signature 10:01, April 27, 2012 (UTC)

(Reset indent) I'm sorry, but I don't quite know how to use Inspect element Sam Wang (talk) 01:09, April 28, 2012 (UTC)

Read these Firebug information pages if you haven't already:
Firebug isn't the only tool that allows you to inspect the css styling used in a page. The latest version of Firefox has something like Firebug already included with the browser. All you have to do is right click on an element and then choose "Inspect Element (Q)" from the menu that pops up. This will cause a bar to appear at the bottom of the page, and if you click on the "Style" button in that bar, a sidebar will appear which shows the CSS styles affecting the element that you chose to inspect.
Google Chrome has something similar. Right click on an element, click on "Inspect element" in the menu popup, and a bar will appear at the bottom of the page to display the html source and the css styles affecting it.
Internet Explorer has the "developer tools" popup which basically works the same way. To access it, click the F12 button on your keyboard while you are viewing a page in Internet Explorer.
Safari also has developer tools which you can access by clicking "Show Web Inspector" in the Developer menu (after you have enabled it in your preferences).
--Gardimuer { ʈalk } 02:21, April 28, 2012 (UTC)
Gardimuer has covered far more browsers than I (I usually use chrome), but if it's any help I made a quick guide here. I figured I'd put it on my test wiki to stop Central getting cluttered with unnecessary files, but hopefully it helps. User:Cåm/Signature 02:29, April 28, 2012 (UTC)
You are actually wasting time teaching me how to do it myself. It could have taken much less time if you just copied it straight from it Sam Wang (talk) 03:17, April 28, 2012 (UTC)
I appreciate the time you put into helping me, but it wasn't what I needed Sam Wang (talk) 03:22, April 28, 2012 (UTC)
I was going for the teach-a-man-how-to-fish-and-he'll-feed-himself-for-a-lifetime approach. Also it's not just a few lines of code - this is the code for the page. What I did was show you how to isolate what you wanted from it. I'm not going to lie, copying the code for those boxes in particular probably won't work straight off. At a guess, they'll be dependant on something else, so it's easier in the long run to teach you rather than you bombard us with lots of extra questions that can be avoided. As Gardimuer said above, giving just those bits of code woul be of "dubious use anyway". How is showing you how to do something, and thus allowing you to do more of this sort of thing in the future, wasting time? User:Cåm/Signature 11:09, April 28, 2012 (UTC)

(Reset indent) Thanks! Sam Wang (talk) 11:12, April 28, 2012 (UTC)

How about the JS for the remix thing? Sam Wang (talk) 11:22, April 28, 2012 (UTC)
It doesn't work! [Template fetch failed for http://community.wikia.com/wiki/Template:User:Sam_Wang/sig?action=raw] 03:39, April 29, 2012 (UTC)
Hello? Cam? Gardimuer? Sam Wang (talk) 07:32, May 1, 2012 (UTC)
I can't help you if you don't provide an example/link to an example of what you tried to do and how it failed. Just saying "it doesn't work" is not enough information. --Gardimuer { ʈalk } 14:58, May 1, 2012 (UTC)

reset indent "I'm not going to lie, copying the code for those boxes in particular probably won't work", so in all honesty I'm really not surprised. I have zero experience with writing javascript, which I guess is what the remix button runs off. Nor do I have any experience with building web pages. If a full c/p job didn't work then I'm at a loss as to what to suggest. "It doesn't work" isn't exactly helpful for anyone who might be able to fix it either. User:Cåm/Signature 23:33, May 1, 2012 (UTC)