Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jul 2006
Posts: 27
A
newbie
newbie
A Offline
Joined: Jul 2006
Posts: 27
Dear sir,
How do I change the "date" and "time" word color different?

And I want all the pages are different as I upload the files. I have try to modify the files at /scripts/viewmessage.inc.php and showflat.inc.php, but the color did not changed.

Please help me, thank you.
Attachments
1.png 2.png 3.png

Joined: Dec 2003
Posts: 6,566
Likes: 78
Joined: Dec 2003
Posts: 6,566
Likes: 78
It would be in the cp>styles area.
But there would be a couple of settings to change because one of your examples are hyperlinks so it would change all hyper links.
But anyway you could start with.
CP>Styles.
Edit the style you wish.
Expand0click on
Misc. Properties
Edit the hex color code for date and time
Save and view changes.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jul 2006
Posts: 27
A
newbie
newbie
A Offline
Joined: Jul 2006
Posts: 27
Thank you for your replay.

I have try to do this, but I don't want those pages to be the same color.

For example, can I change the color for page4 for red(which I circle) and page5 for blue(which I circle) and page6 for black(which I circle).

If I change the CP>Styles, it will change the color all the same.

Please help, thank you.
Attachments
4.png 5.png 6.png

Joined: Dec 2003
Posts: 6,566
Likes: 78
Joined: Dec 2003
Posts: 6,566
Likes: 78
I understand now.
You want a different color scheme for each type of page view.
So that would be a modification to the scripts as you tried.
Not sure if I can help you but I will take a look.



Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jul 2006
Posts: 27
A
newbie
newbie
A Offline
Joined: Jul 2006
Posts: 27
Yes, thank you.

I have try to modify the files at /scripts and /templates/default, but it's not working.

Joined: Dec 2003
Posts: 6,566
Likes: 78
Joined: Dec 2003
Posts: 6,566
Likes: 78
Okay, You did not specify colors for each one but here is a example that you could edit the hex code for each one.
What you need to do is add a tag in the Extra Properties section of the style editor.
CP>Styles
Edit the style in question.
Then select Extra Properties and expand it.
For this example I grabbed a style that had all the same colors but each one can be changed.
Quote
.subjecttable .date {
color: #FFFF00;
}
.subjecttable .time {
color: #FFFF00;
font-weight: bold;
}
.tdheader .date {
color: #FFFF00;
font-weight: bold;
}
.tdheader .time {
color: #FFFF00;
font-weight: bold;
}
.forumtitle .date {
color: #FFFF00;
}
.forumtitle .time {
color: #FFFF00;
}
.topictime .time {
color: #FFFF00;
}
.topictime .date {
color: #FFFF00;
}
.alt-topictime .time {
color: #FFFF00;
}
.new-topictime .date {
color: #FFFF00;
}
.new-alt-topictime .time {
color: #FFFF00;
}
.posttime .time {
color: #FFFF00;
}
.posttime .date {
color: #FFFF00;
}

Then just change the hex code for each color desired.
Note that some are using bold so change as needed.

Also this does not need your scripts to be changed so you probably need to put back the original files on your site.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jul 2006
Posts: 27
A
newbie
newbie
A Offline
Joined: Jul 2006
Posts: 27
cool!!!

It's working!! Thank you!!

Joined: Dec 2003
Posts: 6,566
Likes: 78
Joined: Dec 2003
Posts: 6,566
Likes: 78
You may not need all those settings or I may have missed one somewhere.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Version 7.7.5 Images suddenly not displaying
by Stovebolt - 05/04/2024 11:19 AM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
Who's Online Now
1 members (Geoff), 770 guests, and 174 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)