If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Change colour of hyperlink in posts?  XML
Forum Index » Advanced Guestbook Modifications
Author Message
jimmysmith
Beginner

Joined: 09/06/2009 08:35:20
Messages: 5
Offline

How can I change the colour of a hyperlink made in a post? I use a black background for the guestbook but when I post a hyperlink it is also a dark colour so shows up as blank. I dont know how to use css and I have managed to change it by changing the code in guestbook files but I cannot find the one that creates the colour of the hyperlink.

Any help appreciated.

JImmy
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Edit header.php to add a { color: white; } to the css.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
jimmysmith
Beginner

Joined: 09/06/2009 08:35:20
Messages: 5
Offline

I dont have a file called header.php?
jimmysmith
Beginner

Joined: 09/06/2009 08:35:20
Messages: 5
Offline

do you mean header.tpl and if so can you tell me where to insert the command and does it have brackets?

could you stick it in for me and i`ll cut and paste the code back in?

sorry to be a pest and thanks for the help your gb is superb!

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>$LANG[FormSelect]</title>
<meta http-equiv="content-type" content="text/html; charset=$VARS[charset]">
<meta name="keywords" content="guestbook, php, script, mySQL, free, advance">
<style type="text/css">
<!--
.font1 { font-family: $VARS[font_face]; font-size: $VARS[tb_font_1]; color: $VARS[text_color] }
.font2 { font-family: $VARS[font_face]; font-size: $VARS[tb_font_2]; color: $VARS[text_color] }
.font3 { font-family: Arial, Helvetica, sans-serif; font-size: 7.5pt; color: $VARS[text_color]; font-weight: bold}
.select { font-family: $VARS[font_face]; font-size: 9pt}
.input { font-family: $VARS[font_face]; font-size: 9pt}
.gbsearch { font-family: $VARS[font_face]; font-size: $VARS[tb_font_1]; color: $VARS[search_font_color]; background: $VARS[search_bg_color]; }
-->
</style>
</head>
<body bgcolor="$VARS[pbgcolor]" link="$VARS[link_color]" vlink="$VARS[link_color]">
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Actually I believe you can set the link colour in the style section of admin.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
jimmysmith
Beginner

Joined: 09/06/2009 08:35:20
Messages: 5
Offline

Oh man!! (Big red face)...Can`t believe I missed that! Thanks a lot for your help and it`s now sorted.

If you want a look at my gb in full flight with video and pics have a look at what you helped me create!

http://www.thebathers.com/lazarusgb/
jimmysmith
Beginner

Joined: 09/06/2009 08:35:20
Messages: 5
Offline

Just sent you a wee donation to say thanks for the help and the script!!!
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

I promise not to mention that this is the Advanced guestbook forum and you are using Lazarus

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
 
Forum Index » Advanced Guestbook Modifications
Go to:   
Based on the open source JForum