Black style - Link colors

For support and discussion related to templates, themes, and imagesets in phpBB 3.2.
Post Reply
dominoz
Registered User
Posts: 316
Joined: Wed Dec 26, 2007 12:47 pm
Location: UK
Contact:

Black style - Link colors

Post by dominoz » Sun Jan 07, 2018 8:02 pm

Hi all
I've just upgraded to 3.2 with a colorized black style.

I'd like to change a few colors
Threads with new posts are bright red on a black background which I would like to change

I'd also like to change the colors of the buttons and text below.
Nothing wrong with the colors of the buttons, but when hovered over, turn to red
snap.jpg
snap.jpg (6.32 KiB) Viewed 507 times
Could someone explain where I could edit those.

Thanks in advance
The fastest growing sports betting forum on the net.
http://www.puntersmate.net

dominoz
Registered User
Posts: 316
Joined: Wed Dec 26, 2007 12:47 pm
Location: UK
Contact:

Re: Black style - Link colors

Post by dominoz » Sun Jan 07, 2018 9:46 pm

Sorry about this quick update, but I can see that I didn't explain it very well.
Forum titles with new posts
Are highlighted in red

I'd like to change that to no highlight at all, as the arrow at the side of the forum highlights a new post.
See my site link below
The fastest growing sports betting forum on the net.
http://www.puntersmate.net

User avatar
Christian 2.0
Former Team Member
Posts: 4445
Joined: Wed Nov 04, 2009 11:16 pm
Location: UK
Name: Christian
Contact:

Re: Black style - Link colors

Post by Christian 2.0 » Sun Jan 07, 2018 11:57 pm

Hello :)

In /styles/black/template/viewforum_body.html, find:

Code: Select all

<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle<!-- IF topicrow.S_UNREAD_TOPIC --> unread<!-- ENDIF -->">{topicrow.TOPIC_TITLE}</a>
Replace with:

Code: Select all

<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>
Repeat this for search_results.html .

We also need to make the same change in ucp_pm_viewfolder.html, but the "find" instruction is a little different:

Code: Select all

<a href="{messagerow.U_VIEW_PM}" class="topictitle<!-- IF messagerow.S_PM_UNREAD --> unread<!-- ENDIF -->">{messagerow.SUBJECT}</a>
Replace with:

Code: Select all

<a href="{messagerow.U_VIEW_PM}" class="topictitle">{messagerow.SUBJECT}</a>
That should be them all. If you come across any others, check the corresponding template file and repeat the instructions above, or let us know here and we'll be happy to help :)

dominoz
Registered User
Posts: 316
Joined: Wed Dec 26, 2007 12:47 pm
Location: UK
Contact:

Re: Black style - Link colors

Post by dominoz » Mon Jan 08, 2018 11:03 am

Thanks for that Christian
But probably my fault for not explaining this properly
I've enclosed a couple of images. All I want to do is change the color of unread messages on both the forum and the topics
At the moment the forum new message and arrow go red, and the topic new message and arrow go red
I would like to change it to white, or another color as the red on black is a bit hard on the eyes.
The attachment forum color.jpg is no longer available
topic color.jpg
topic color.jpg (12.68 KiB) Viewed 441 times
The fastest growing sports betting forum on the net.
http://www.puntersmate.net

dominoz
Registered User
Posts: 316
Joined: Wed Dec 26, 2007 12:47 pm
Location: UK
Contact:

Re: Black style - Link colors

Post by dominoz » Mon Jan 08, 2018 11:04 am

forum color.jpg
forum color.jpg (14.25 KiB) Viewed 439 times
The fastest growing sports betting forum on the net.
http://www.puntersmate.net

Exabot
Registered User
Posts: 90
Joined: Sun Jan 18, 2015 8:21 pm
Location: Estonia

Re: Black style - Link colors

Post by Exabot » Mon Jan 08, 2018 11:07 am

What style is it?

dominoz
Registered User
Posts: 316
Joined: Wed Dec 26, 2007 12:47 pm
Location: UK
Contact:

Re: Black style - Link colors

Post by dominoz » Mon Jan 08, 2018 11:09 am

Hi exabot
It's black with a colorizeit
The fastest growing sports betting forum on the net.
http://www.puntersmate.net

User avatar
Christian 2.0
Former Team Member
Posts: 4445
Joined: Wed Nov 04, 2009 11:16 pm
Location: UK
Name: Christian
Contact:

Re: Black style - Link colors

Post by Christian 2.0 » Mon Jan 08, 2018 1:52 pm

Ah, that would be this code in black.css:

Code: Select all

/** Unread link **/
a.unread, a.subforum.unread {
	color: #f04343;
}

dominoz
Registered User
Posts: 316
Joined: Wed Dec 26, 2007 12:47 pm
Location: UK
Contact:

Re: Black style - Link colors

Post by dominoz » Mon Jan 08, 2018 2:47 pm

Thanks Christian
That has changed the forum link color, but it looks like I'll have to get some new images for unread post arrow.
The fastest growing sports betting forum on the net.
http://www.puntersmate.net

Post Reply

Return to “[3.2.x] Styles Support & Discussion”

Who is online

Users browsing this forum: No registered users and 5 guests