How to change unread forum link color

For support and discussion related to templates, themes, and imagesets in phpBB 3.2.
Post Reply
Lsha
Registered User
Posts: 61
Joined: Mon Feb 25, 2019 10:38 am

How to change unread forum link color

Post by Lsha » Mon Oct 21, 2019 4:43 pm

for prosilver style if there is unread topic forum link has red colour. how can we change it.

Image

User avatar
warmweer
Registered User
Posts: 2967
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Belt ... well actually Belgium

Re: How to change unread forum link color

Post by warmweer » Mon Oct 21, 2019 5:13 pm

colours.css
add what you want or adapt an extension (viewtopic.php?f=616&t=2411941&p=1467310 ... #p14673101)

Code: Select all

.row-item-link + .list-inner > .forumtitle { 
	color: #FF0000; 
} 
.row-item-link + .list-inner > .subforum.unread { 
	color: #FF0000; 
}

.row-item-link + .list-inner > .forumtitle:hover {
	color: #FF9900;
}

.row-item-link + .list-inner > .subforum.unread:hover {
	color: #FF9900;
The year is 2192. The British Prime Minister visits Brussels to ask for an extension of the Brexit deadline. No one remembers where this tradition originated, but every year it attracts many tourists from all over the world.

Lsha
Registered User
Posts: 61
Joined: Mon Feb 25, 2019 10:38 am

Re: How to change unread forum link color

Post by Lsha » Tue Oct 22, 2019 10:13 pm

warmweer wrote:
Mon Oct 21, 2019 5:13 pm
colours.css
add what you want or adapt an extension (viewtopic.php?f=616&t=2411941&p=1467310 ... #p14673101)

Code: Select all

.row-item-link + .list-inner > .forumtitle { 
	color: #FF0000; 
} 
.row-item-link + .list-inner > .subforum.unread { 
	color: #FF0000; 
}

.row-item-link + .list-inner > .forumtitle:hover {
	color: #FF9900;
}

.row-item-link + .list-inner > .subforum.unread:hover {
	color: #FF9900;
is these line already exist? or i have to add it? i could not find these in colours.css :oops:

User avatar
warmweer
Registered User
Posts: 2967
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Belt ... well actually Belgium

Re: How to change unread forum link color

Post by warmweer » Tue Oct 22, 2019 10:26 pm

Did you try the extension?
It's an example of what you could add to colours.css, or use the extension I linked to and adapt it as you want.
The year is 2192. The British Prime Minister visits Brussels to ask for an extension of the Brexit deadline. No one remembers where this tradition originated, but every year it attracts many tourists from all over the world.

Lsha
Registered User
Posts: 61
Joined: Mon Feb 25, 2019 10:38 am

Re: How to change unread forum link color

Post by Lsha » Wed Oct 23, 2019 11:21 am

i didnot try the extension. editing css much more easier. could you please tell me which css line i should edit?

User avatar
warmweer
Registered User
Posts: 2967
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Belt ... well actually Belgium

Re: How to change unread forum link color

Post by warmweer » Wed Oct 23, 2019 11:31 am

Lsha wrote:
Wed Oct 23, 2019 11:21 am
could you please tell me which css line i should edit?
warmweer wrote:
Mon Oct 21, 2019 5:13 pm
colours.css
add what you want ...
and
warmweer wrote:
Tue Oct 22, 2019 10:26 pm
It's an example of what you could add to colours.css, or use the extension I linked to and adapt it as you want.
There is no line to edit: only lines to add
There's also this topic (which I found using the search)

The advantage of an extension is that when updating, there will be no need to reapply the edits.
The year is 2192. The British Prime Minister visits Brussels to ask for an extension of the Brexit deadline. No one remembers where this tradition originated, but every year it attracts many tourists from all over the world.

Lsha
Registered User
Posts: 61
Joined: Mon Feb 25, 2019 10:38 am

Re: How to change unread forum link color

Post by Lsha » Wed Oct 23, 2019 12:42 pm

thank you, your previous css code worked perfect.

User avatar
warmweer
Registered User
Posts: 2967
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Belt ... well actually Belgium

Re: How to change unread forum link color

Post by warmweer » Wed Oct 23, 2019 1:11 pm

Lsha wrote:
Wed Oct 23, 2019 12:42 pm
thank you, your previous css code worked perfect.
Actually it isn't my code, just a snippet I took from an archive document in which I keep lots of useful code (and I think it actually comes from the extension, so I'll probably have to forward your thanks to the author ;) ).
The year is 2192. The British Prime Minister visits Brussels to ask for an extension of the Brexit deadline. No one remembers where this tradition originated, but every year it attracts many tourists from all over the world.

Post Reply

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