I'm using 1.1.5 and the deafult core theme.
When people post links in my forum they have the same colour (black) as the rest of the post. How/where can I change this to make the links show up as blue instead of black?
Also, I like text links, but can't quite figure out how to do that with the bbcode?
Example: I want this to be a text link pointing somewhere (//http://) (I would also want it to be blue instead of black)
I type in the words, click on the Insert Hyperlink and that's where I get stuck, as I would expect a popup box where I could actually insert the link and it would make the text into a clickable link. Is there any simple way I can do this?
Thanks
Anna
you should install URL Popup (http://custom.simplemachines.org/mods/index.php?mod=451)
manual linking a text is done by:
[url=http://custom.simplemachines.org/mods/index.php?mod=451]URL Popup[/url]
for changing a hyperlink's color you have to edit the styles.css from your theme ..
Look for Tags like a:hover, a:visited, a:active and a
they need an attribute
color: #0000FF
for blue as example.
Anna, is this issue resolved? The default link color should be blue unless you changed the style as mentioned earlier.
I tried installing the url popup but it didn't work for me, sadly.
I'm searching through the styles css but not having much luck. Not to worry, it's not utterly mega important, would have just been nice.
Thanks for the info though :D
Anna
The help section of your forum is always a good source for bbcode references
http://www.simplemachines.org/community/index.php?action=help;page=post#bbcref
Now at the very top of your style.css file holds the style for URL link colors etc:
/* Normal, standard links. */
a:link
{
color: #476C8E;
text-decoration: none;
}
a:visited
{
color: #476C8E;
text-decoration: none;
}
a:hover
{
text-decoration: underline;
}
Ahh, I found it, thanks so much, mine looks different to that, so I'm thinking I just change the numbers?
/* Normal, standard links. */
a:link
{
color: #000000;
text-decoration: none;
}
a:visited
{
color: #000000;
text-decoration: none;
}
a:hover
{
text-decoration: underline;
}
Thanks for that :)
Anna
Whoot! That worked perfectly! Thank you so much!
Anna
Hmm, maybe I was too quick, that actually changed every link in the forum; people names, thread titles, visited threads, non visited threads etc.
Back to the drawing board ;)
Anna
Yes that will affect all links. You might be able to define a new style for the URL links via the bbcode in Subs.php, but that too would affect all link created by bbcode as well.
Ahh, ok, I guess it'll just have to stay black until I can find a colour that works well with my forum then :)
Thanks anyway, at least now I know where to change it when that time comes! :D
Anna