Jump to content

Link styling in main body txt


Guest thatblokedan

Recommended Posts

Guest thatblokedan

Hi there, so far I have just about got my head around editing the .css and .tpl files to change the look of my site: sbsdigital gifts

I want to change the link style that is enveloped by the '.txtDefault' part of the style.css file.

I would like the links to be #00019f as the default colour, to remain #00019f whilst active aswell as visited, to be #7474bb on hover and for all options to be bold. This is how my code currently reads:

.txtDefault, a.txtDefault, a.txtLink {

	color: #000000;

	text-decoration:none;

}

a.txtLink: visited {

	colour: #000000;

	text-decoration: none;

}

a.txtLink: active {

	colour: #000000;

	text-decoration: none;

}

a.txtLocation {

	color: #000000;

	text-decoration: none;

	font-weight: bold;

}

a.txtLocation:hover {

	color: #7474bb;

	text-decoration: none;

	font-weight: bold;

}

a.txtDefault:hover, a.txtLink:hover, a.txtLocation:hover {

	color: #7474bb;

	text-decoration:none;

}

a.txtSelected:hover, a.txtSelected:active, a.txtSelected:link, a.txtSelected:visited {

	color: #7474bb;

	text-decoration:none;

}

I think that this maybe a bit messy, could anyone help me with this?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...