Help talk:Link color
![]() | This help page does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||
|
|
|
This page has archives. Sections older than 365 days may be automatically archived by Lowercase sigmabot III when more than 5 sections are present. |
HELLLLLLLP!!!!!!!!!
[edit]I'm trying to change the Link color for a NavBox I'm working on:
|name=
|franchise=
|image=LTSS-Logo.png
|imagesize=500px
|bordercolor=#92b1cd
|bgcolor=#20558a
|vlinkcolor=white '''<--This right here is what I am trying to do to change the link color, but it's not working.-->'''
|fontcolor=#00aed8
|headcolor=#00b74f
|gtitle1=<center>Releases</center>
|group1=<center>[[' Bugs Bunny: Hare Extraordinaire|Bugs Bunny: Hare Extraordinaire]] • [[' Daffy Duck: Frustrated Fowl|Daffy Duck: Frustrated Fowl]]<br>[[' Foghorn Leghorn & Friends: Barnyard Bigmouth|Foghorn Leghorn & Friends: Barnyard Bigmouth]] • [[' Tweety & Sylvester: Feline Fwenzy|Tweety & Sylvester: Feline Fwenzy]]<br>[[' Bugs Bunny: Wascally Wabbit|Bugs Bunny: Wascally Wabbit]] •
[[' Road-Runner & Wile E. Coyote: Supergenius Hijinks|Road-Runner & Wile E. Coyote: Supergenius Hijinks]]<br>[[' Pepé Le Pew: Zee Best of Zee Best|Pepé Le Pew: Zee Best of Zee Best]] • [[' Porky & Friends: Hilarious Ham|Porky & Friends: Hilarious Ham]] • [[' Sylvester & Hippety Hopper: Marsupial Mayhem|Sylvester and Hippety Hopper: Marsupial Mayhem]]</center>
|gtitle2=<center>Bugs Bunny: Hare Extraordinaire</center>
|group2=COMING UP!
|gtitle3=<center>Bugs Bunny: Wascally Wabbit (Doubled Dipped)</center>
|group3=COMING UP!
|gtitle4=<center>Daffy Duck: Frustrated Fowl</center>
|group4=COMING UP!
|gtitle5=<center>Foghorn Leghorn & Friends: Barnyard Bigmouth</center>
|group5=COMING UP!
|gtitle6=<center>Tweety & Sylvester: Feline Fwenzy (Double Dipped)</center>
|group6=COMING UP!
|gtitle7=<center>Road-Runner & Wile E. Coyote: Supergenius Hijinks</center>
|group7=COMING UP!
|gtitle8=<center>Pepé Le Pew: Zee Best of Zee Best</center>
|group8=COMING UP!
|gtitle9=<center>Porky Pig & Friends: Hilarious Ham</center>
|group9=COMING UP!
|gtitle10=<center>Sylvester and Hippety Hopper: Marsupial Mayhem</center>
|group10=COMING UP!
But what I've got isn't working! Can anybody help me?! --LooneyTunerIan (talk) 21:08, 18 November 2017 (UTC)
- @LooneyTunerIan: which page is this in? I need to see the whole picture, not a copypasted blob. --Redrose64 🌹 (talk) 21:39, 18 November 2017 (UTC)
- @Redrose64: Here you go: http://warnerbros.wikia.com/wiki/Template:Looney_Tunes_Super_Stars Can you maybe change the link color to white? — Preceding unsigned comment added by LooneyTunerIan (talk • contribs) 21:47, 18 November 2017 (UTC)
Not done Wrong wiki. This is the English Wikipedia, not Wikia. --Redrose64 🌹 (talk) 21:51, 18 November 2017 (UTC)
- @Redrose64:Then how am I supposed to fix it, man?! --LooneyTunerIan (talk) 22:02, 18 November 2017 (UTC)
- Ask somebody at Wikia? --Redrose64 🌹 (talk) 23:35, 18 November 2017 (UTC)
- @Redrose64:Then how am I supposed to fix it, man?! --LooneyTunerIan (talk) 22:02, 18 November 2017 (UTC)
Orange links to disambiguation pages
[edit]Look at Liberty Bell and you will see in orange "For other uses, see Liberty Bell (disambiguation)" meaning link to a disambiguation page, but orange is not in the lede table of this article. Perhaps that is because the table is for Vector skin, and perhaps I see orange on my screen because I am using Monobook skin.
So, what is the situation for me? Also, what are the colors for Monobook skin?--Dthomsen8 (talk) 20:10, 29 June 2019 (UTC)
- @Dthomsen8: The redirect message you mentioned at Wikipedia:Help desk#Color coded text is only shown at the redirect Liberty bell with lower case 'b'. Help:Link color is about the default colors seen by logged out users and logged in users who haven't changed settings. The default colors for MonoBook are similar to Vector. If you see green redirects in MonoBook instead of blue then it may be because your User:Dthomsen8/monobook.js imports User:Anomie/linkclassifier.js and User:Anomie/linkclassifier.css. Help:Link color#Scripts says: "User:Anomie/linkclassifier is a popular script that customizes colors to indicate links such as pages to be deleted, nonfree-media, redirects, protected pages and more." If you see orange links to disambiguation pages then you may have enabled "Display links to disambiguation pages in orange" at Special:Preferences#mw-prefsection-gadgets. PrimeHunter (talk) 20:52, 29 June 2019 (UTC)
- @PrimeHunter: If this page is "
about the default colors seen by logged out users and logged in users who haven't changed settings
", why does it mention it mention stubs being shown in brown? Is there a particular skin that causes that or something else? I can't remember seeing anything made brown in the past and I can't find the option anywhere under Special:Preferences. 03:07, 10 July 2019 (UTC) — Preceding unsigned comment added by The Editor's Apprentice (talk • contribs)- See "⧼stub-threshold⧽" on the Appearance tab. When shown on Special:Preferences the "⧼stub-threshold-sample-link⧽" text shows the color too. Anomie⚔ 12:20, 10 July 2019 (UTC)
- @PrimeHunter: If this page is "
- Ah, thank you. Do you know what the default value is? The Editor's Apprentice (talk) 15:24, 10 July 2019 (UTC)
Changing visited links to blue
[edit]I am trying to modify my modern.css page so that visited links don't change to the defaulted purple (I'd rather they remained the standard blue). I've tried a few different approaches, but none seem to work – I clear my cache each time, but all visited links remain purple. Can anyone think of another approach? Here is what I inputted most recently:
.mw-body-content a:link:visited { color: #0000FF; } /* visited links */
–Ruby2010 (talk) 20:53, 31 December 2019 (UTC)
- I don't think that you can combine the
:link
and:visited
pseudo-classes - I'm pretty sure that they're mutually exclusive. Try this selector-list:If that doesn't work, try removing the.mw-body-content a:link, .mw-body-content a:visited { color: #0000FF; } /* visited links */
.mw-body-content
class selector. --Redrose64 🌹 (talk) 00:22, 1 January 2020 (UTC)- Thanks for looking. I've just tried a few different variations of that, but all visited links are still appearing as purple. Hmmm... Ruby2010 (talk) 00:50, 1 January 2020 (UTC)
- Oh. Well, this works for me. It's possible that your browser is overriding that - you may need to post at WP:VPT, linking back here. --Redrose64 🌹 (talk) 19:46, 1 January 2020 (UTC)
- Then again, the problem might be User:Ruby2010/common.css, which is entirely invalid: the first line (beginning
mw.loader.load
) isn't CSS at all (it's JavaScript, so belongs at User:Ruby2010/common.js if you wish to use it), whilst the rule that begins on the second line lacks a closing single brace after thedisplay: none;
declaration. If, as I suspect, MediaWiki combines your common.css with your modern.css in that order, your modern.css will be ignored since it's within the declaration-block of the incomplete rule whose selectors are.mw-special-Watchlist .mw-rollback-link
. --Redrose64 🌹 (talk) 23:16, 1 January 2020 (UTC)- That was it! I made a few edits and am now seeing the behavior I expected. I can't thank you enough for your help, Redrose64. Hope you had a happy new year's! Ruby2010 (talk) 03:00, 2 January 2020 (UTC)
- Thanks for looking. I've just tried a few different variations of that, but all visited links are still appearing as purple. Hmmm... Ruby2010 (talk) 00:50, 1 January 2020 (UTC)
Clearer difference between visited and unvisited wikilinks
[edit]I've looked at Help:Link color and can't figure out how to do what I want. I'd like to make the difference between visited and unvisited wikilinks more clear on my screen without changing other colors. Most likely would be to make unvisited wikilinks that are not redirects or redlinks a lighter blue. I've fooled with User:SchreiberBike/vector.css, but I don't really understand what I'm doing. Thanks for any help. SchreiberBike | ⌨ 02:36, 11 June 2020 (UTC)
- I don't see why you would need to change other colours. It should be as simple as picking one of these two lines: and altering the colour value to something else. You don't need the other line if you're not altering its colour. --Redrose64 🌹 (talk) 19:34, 11 June 2020 (UTC)
.mw-body-content a:link { color: #0645AD; } /* unvisited links */ .mw-body-content a:visited { color: #0B0080; } /* visited links */
- Thanks Redrose64. Either of those lines changes the color for all either visited or unvisited links. For example, when I use the second line, with the color changed to a purple, it changes all visited links including redirects (which used to be orange), red links (which used to be dark red), and links to disambiguation pages (which used to be olive) to purple. If instead I use the first line, it does the same to all unvisted links. I'd like to make the difference between visited and unvisited wikilinks (which are usually blue or a slightly darker blue) more clear without changing other colors. Thanks, SchreiberBike | ⌨ 23:16, 11 June 2020 (UTC)
- So, that can't be done? I'd think it's a common problem, or maybe it's my eyes (or monitor). SchreiberBike | ⌨ 18:26, 21 June 2020 (UTC)
- I'm having great difficulty finding the actual style sheets that are served along with Wikipedia pages. Analysis of those will show which rules are standalone and which depend upon the presence of others. --Redrose64 🌹 (talk) 22:41, 21 June 2020 (UTC)
- So, that can't be done? I'd think it's a common problem, or maybe it's my eyes (or monitor). SchreiberBike | ⌨ 18:26, 21 June 2020 (UTC)
- Thanks Redrose64. Either of those lines changes the color for all either visited or unvisited links. For example, when I use the second line, with the color changed to a purple, it changes all visited links including redirects (which used to be orange), red links (which used to be dark red), and links to disambiguation pages (which used to be olive) to purple. If instead I use the first line, it does the same to all unvisted links. I'd like to make the difference between visited and unvisited wikilinks (which are usually blue or a slightly darker blue) more clear without changing other colors. Thanks, SchreiberBike | ⌨ 23:16, 11 June 2020 (UTC)
Expert Needed
[edit]![](http://upload.wikimedia.org/wikipedia/en/thumb/f/fb/Yes_check.svg/20px-Yes_check.svg.png)
Here's the |reason=
parameter again for your convenience: this section only discusses change the color blue. It says nothing about red links, purple links or any other type of link. Please expand the section with the appropriate instructions or at the very least explain to the reader what link colors that can't be changed for everybody. Also this section needs to clearly state how inappropriate this mechanism is for general usage on Wikipedia. See talk
CapnZapp (talk) 12:52, 13 January 2021 (UTC)
- CapnZapp, could you please clarify: are you talking about a section of the page Help:Link color or some other page? —andrybak (talk) 22:47, 21 July 2024 (UTC)
- First of all, thank you for taking an interest, User:Andrybak. I'll try my best answering your questions, but before that, did you check out the article as it stood back when I started this talk section? Here's the relevant edit: [1] Cheers CapnZapp (talk) 11:28, 22 July 2024 (UTC)
- For the record, fixed in Special:Diff/1002862008. —andrybak (talk) 19:09, 22 July 2024 (UTC)
- Or maybe Special:Diff/1002844668/1002865899 might be a better diff to look at. - dcljr (talk) 21:08, 22 July 2024 (UTC)