Different color for links on different pages
2 posters
Page 1 of 1
Different color for links on different pages
How do I make the forum so that all the main links (the links to topics, forums, usernames' links, etc) remain black, while the links within the posts are all blue, even if the user doesn't type something similar to this:
- Code:
[url=http://myrandomurl.com/][color=blue]a random url[/color][/url]
lustromlingmech- Forumember
- Posts : 66
Reputation : 1
Language : English
Re: Different color for links on different pages
You can change it there.
ACP < Display < Colors < Change < Save
Re: Different color for links on different pages
That changes every link in the forum. I want only the links in the user messages to be blue, while everything else is black. Think I have to put CSS in the site, but I don't know how to do it.
lustromlingmech- Forumember
- Posts : 66
Reputation : 1
Language : English
Re: Different color for links on different pages
Well, putting in a
a.hover
a.link and the liking would primarily adjust everything as well so yeah, I don't think that's possible unless you allow the HTML in your forum name and then instead of putting in a name for the specified forum, have it done by making an internal CSS in the description and as well as with the Forum Topic in the following forum which would require a lot of work ._.
a.hover
a.link and the liking would primarily adjust everything as well so yeah, I don't think that's possible unless you allow the HTML in your forum name and then instead of putting in a name for the specified forum, have it done by making an internal CSS in the description and as well as with the Forum Topic in the following forum which would require a lot of work ._.
Re: Different color for links on different pages
There's got to be some kind of class the messages are in. If we look at a page's source, like this current page, the text must be in a <div> tag, and there must be a class attribute in the tag. Could you read the source code of this page and see what there is?
Last edited by lustromlingmech on November 30th 2012, 5:51 am; edited 2 times in total
lustromlingmech- Forumember
- Posts : 66
Reputation : 1
Language : English
Re: Different color for links on different pages
I really don't wanna get sued so I'd rather not ._.
Anyway, that's what I'm saying, in the forum description, this is the code I was talking about but this one's just a sample:
Or something near to that proximity since the code provided is a bit insufficient.
Anyway, that's what I'm saying, in the forum description, this is the code I was talking about but this one's just a sample:
- Code:
div#topic
{a.hover: blah blah blah
a.link: blah blah blah
}
<body>
<div id="topic">Lalala</div>
</body>
Or something near to that proximity since the code provided is a bit insufficient.
Re: Different color for links on different pages
I don't think you would get sued. Developers encourage other developers to do it (at least, the book I'm learning HTML and CSS recommends it). Why else would there be a button that says "view source code" in Firefox and Safari?
Anyways, I'll just play around on my forum with and try different things. I'll probably post what I am doing about it on this topic.
Anyways, I'll just play around on my forum with and try different things. I'll probably post what I am doing about it on this topic.
lustromlingmech- Forumember
- Posts : 66
Reputation : 1
Language : English
Re: Different color for links on different pages
Please do, but yeah, ...
Anyway, I'll adjust the code for you if needed, just place the code in the forum Description as stated in the former posts above and see if it'll work.
Anyway, I'll adjust the code for you if needed, just place the code in the forum Description as stated in the former posts above and see if it'll work.
Re: Different color for links on different pages
Rideem, he wants 2 colors. Shouldn't he add an a.hover stuff and then the name of the forum name since he wants it specified?
Re: Different color for links on different pages
Actually that's what I wanted. If I'm not mistaken, that will only affect the tags <a> in a <div class="postbody"> tag. I basically needed to know what class the post body was in, then I could do the rest.
lustromlingmech- Forumember
- Posts : 66
Reputation : 1
Language : English
Re: Different color for links on different pages
Well then, you can just use Google Chrome to find out the class names, id names you need in the inspect element in right click and stuff.
Similar topics
» Web Links & URl links bug in forum pages
» Links in forum redirected to strange pages
» links for html pages
» How can I add links to my web pages (HTML created)
» Pictured links on my forum pages ????
» Links in forum redirected to strange pages
» links for html pages
» How can I add links to my web pages (HTML created)
» Pictured links on my forum pages ????
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum