Username:    Password:        Click Here To Signup     Forgotten Password
Main Menu
Online
Members: 0

Guests: 15

123.125.x.x forum
175.44.x.x forum
175.44.x.x forum
178.255.x.x dilbertplus
178.54.x.x signup
199.21.x.x forum
220.181.x.x lgsl
27.159.x.x forum
5.63.x.x news
50.16.x.x forum
62.24.x.x news
66.249.x.x forum
66.249.x.x forum
92.21.x.x forum
94.181.x.x forum

Last Seen

Dodgeitorelse Wed 17:05
Wussie Wed 13:43
game_stats.eu Wed 11:58
Hostprofil Wed 11:42
palyarmerc Wed 09:10

Newest Members

Forums
Custom login change text colour
polper
Tue Feb 01 2005, 04:58AM
Guest Hi,

first of thank you for the great theme. It's o easy to edit.

Will be sure to post a link as soon as I'm done.

However, until that date I was thinking of changing the colour of the text in the custom login text.

As it is now the text is OK in the menues but due to my color selection there it doesn't fit very well with the top menu.

Would it be possible to edit the gc_custom_login.php and code that text differently?

Thanks.
Rich
Tue Feb 01 2005, 06:43AM
Posts: 1700
Joined: Wed Nov 26 2003, 04:30PM

It certainly is possible, and very easy to do. If you edit the gc_custom_login.php you will see at the top there is the line:


$tmp .= "<div class='mediumtext' style='white-space:nowrap'>";


Which says that it uses the style 'mediumtext' from your themes style.css. Now you can either change this to another style within your style.css, example


$tmp .= "<div class='mylogintext' style='white-space:nowrap'>";


Or directly set color in the style like this


$tmp .= "<div style='white-space:nowrap; color:#ffffff; background-color:#000000'>";

Website
polper
Tue Feb 01 2005, 12:24PM
Guest Thank you for the quick answer.

Just to make sure. If I change a setting for mediumtext in the css-file that would affect the whole site depending on where the reference mediumtext is used?

If I, instead, change it in the gc_custom_login.php file it would be static to the text in the top login menu?

Ok, how about if I would want to have Login ID and Password as one colour and the rest (Settings, Profile, Search and so on) as another text? Is that possible to change also? As I understand those are treated as link and all links, in my case are now red. That is OK for the menues but not for the top meny.

You'll have to excuse me but my css knowledge is useless.

Apreciate your help.
Rich
Wed Feb 02 2005, 04:16AM
Posts: 1700
Joined: Wed Nov 26 2003, 04:30PM

If you change the mediumtext it will effect the the whole site.

Adding a new entry to the css file or adding a direct style will be applied to the login section only.

For the username and password there is already div tags around so you can add the style to that. For the text when your logged in you will need to add your own div tags.

The style can be applied in lots of places, and if you want you can be link specific, for example


<a href='blaa.php' style='text-decoration:none'>Link</a>
Website
Anonymous
Wed Feb 02 2005, 05:37AM
Guest Hi Rich,

thank you very much...
 

Jump:     Back to top


You are not logged in - Click Here To Signup

Username:    Password:   

Mini Buttons

.... © GreyCube.com - Richard Perry - Powered by e107.org