How to change unread forum link color

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

How to change unread forum link color

Post by Lsha »

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

Image
User avatar
warmweer
Jr. Extension Validator
Posts: 11873
Joined: Fri Jul 04, 2003 6:34 am
Location: somewhere in the space-time continuum

Re: How to change unread forum link color

Post by warmweer »

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;
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
Lsha
Registered User
Posts: 111
Joined: Mon Feb 25, 2019 10:38 am

Re: How to change unread forum link color

Post by Lsha »

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
Jr. Extension Validator
Posts: 11873
Joined: Fri Jul 04, 2003 6:34 am
Location: somewhere in the space-time continuum

Re: How to change unread forum link color

Post by warmweer »

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.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
Lsha
Registered User
Posts: 111
Joined: Mon Feb 25, 2019 10:38 am

Re: How to change unread forum link color

Post by Lsha »

i didnot try the extension. editing css much more easier. could you please tell me which css line i should edit?
User avatar
warmweer
Jr. Extension Validator
Posts: 11873
Joined: Fri Jul 04, 2003 6:34 am
Location: somewhere in the space-time continuum

Re: How to change unread forum link color

Post by warmweer »

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.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
Lsha
Registered User
Posts: 111
Joined: Mon Feb 25, 2019 10:38 am

Re: How to change unread forum link color

Post by Lsha »

thank you, your previous css code worked perfect.
User avatar
warmweer
Jr. Extension Validator
Posts: 11873
Joined: Fri Jul 04, 2003 6:34 am
Location: somewhere in the space-time continuum

Re: How to change unread forum link color

Post by warmweer »

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 ;) ).
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.

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