The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

URL Color

5 posters

Go down

Solved URL Color

Post by ASL August 19th 2010, 17:02

Is there a way to change the color in which a URL appears so that it is blue and changes to red?
ASL
ASL
Forumember

Male Posts : 45
Reputation : 0
Language : English
Location : Sometimes I wake up and forget. :/

http://ciswriters.forumsmotion.com

Back to top Go down

Solved Re: URL Color

Post by ankillien August 19th 2010, 17:13

Hello,

You mean you want the URLs in blue and it should become red when hovered over, right?

Please navigate to Admin CP > Display > Colors > CSS
Add this code there and submit...

Code:
a:link {
color : blue;
}
a:hover {
color : red;
}

Add it after all other codes, if there are any.
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Solved Re: URL Color

Post by YanOri August 19th 2010, 17:16

ankillien, is this right ?

Code:

/* Links-----------------------------------------------------*/a:link{ color: #105289; text-decoration: none; }a:visited{ color: #105289; text-decoration: none; }a:active{ color: #105289; text-decoration: underline; }a:hover{ color: #d31141; text-decoration: none; }a.forumtitle {color: #105289;font-family: Arial,Helvetica,sans-serif;font-size: 1.2em;font-weight: bold;text-decoration: none;}a.forumtitle:hover {color: #d31141;text-decoration: underline;}a.forumtitle:active { color: #105289; }a.topictitle {font-family: Verdana,Arial,Helvetica,sans-serif;font-size: 1.1em;font-weight: bold;color: #105289;text-decoration: none;}div.topic-title-container {display: inline;}.topic-title {display: inline;font-size: 12px;text-align: left;}.topic-title-post {}a.topictitle:hover {color: #d31141;text-decoration: underline;}a.topictitle:active { color: #105289; }


Last edited by dimon on August 19th 2010, 17:22; edited 1 time in total
YanOri
YanOri
Forumember

Male Posts : 283
Reputation : 0
Language : English
Location : India

Back to top Go down

Solved Re: URL Color

Post by ankillien August 19th 2010, 17:18

dimon, those codes are not incorrect but it has many unnecessary codes that should be removed Very Happy
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Solved Re: URL Color

Post by YanOri August 19th 2010, 17:23

oh my, lol didn't notice that one... edited it !
thanks
YanOri
YanOri
Forumember

Male Posts : 283
Reputation : 0
Language : English
Location : India

Back to top Go down

Solved Re: URL Color

Post by ASL August 19th 2010, 17:23

ankillien wrote:Hello,

You mean you want the URLs in blue and it should become red when hovered over, right?

Please navigate to Admin CP > Display > Colors > CSS
Add this code there and submit...

Code:
a:link {
color : blue;
}
a:hover {
color : red;
}

Add it after all other codes, if there are any.

Yes this is what I meant. Thank you.

EDIT: It is still black until you hover over it.
ASL
ASL
Forumember

Male Posts : 45
Reputation : 0
Language : English
Location : Sometimes I wake up and forget. :/

http://ciswriters.forumsmotion.com

Back to top Go down

Solved Re: URL Color

Post by ankillien August 19th 2010, 18:14

Please try this code...

Code:
a:link {
color : blue !important;
}
a:hover {
color : teal !important;
}
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Solved Re: URL Color

Post by ASL August 19th 2010, 18:16

Still doesn't work.
ASL
ASL
Forumember

Male Posts : 45
Reputation : 0
Language : English
Location : Sometimes I wake up and forget. :/

http://ciswriters.forumsmotion.com

Back to top Go down

Solved Re: URL Color

Post by ankillien August 19th 2010, 19:01

In your CSS Stylesheet, find this code...

Code:
a:link {
   color: #000000;
   text-decoration:none;
   }

and remove the color: #000000; from there.
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Solved Re: URL Color

Post by ASL August 19th 2010, 22:23

Oh, Thnx.
ASL
ASL
Forumember

Male Posts : 45
Reputation : 0
Language : English
Location : Sometimes I wake up and forget. :/

http://ciswriters.forumsmotion.com

Back to top Go down

Solved Re: URL Color

Post by CPInsider August 20th 2010, 01:27

You can also change it in here: Admin CP > Display > Colors > Colors Management
avatar
CPInsider
Forumember

Male Posts : 190
Reputation : 0
Language : English

http://allaroundinsiders.forummotion.com

Back to top Go down

Solved Re: URL Color

Post by Sanket August 20th 2010, 11:43

Since this thread appears to be solved, I will lock this thread and mark it as solved.
URL Color 2j4t5a8

Sanket Smile

Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum