Subforum Different Colour [MyInvision]

For support and discussion related to templates, themes, and imagesets in phpBB 3.2.
Post Reply
User avatar
Lownoise
Registered User
Posts: 101
Joined: Sun Feb 11, 2018 8:44 pm

Subforum Different Colour [MyInvision]

Post by Lownoise »

Hi folks!

Question: How can I give my subforums a different colour to highlight them more?

Hope someone has the answer :roll:

P.s. please copy to: Styles Support & Discussion, wrong section sorry!
It's Nice To Be Important, But It's More Important To Be Nice!
Trance Vizion ● (Trance Music Discussion Board). www.trancevizion.nl
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 52768
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Subforum Different Colour [MyInvision]

Post by stevemaury »

Every forum can be assigned a separate style, so just create child styles, recolor, and assign as desired. Or do you want this in viewforum?
I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
User avatar
Lownoise
Registered User
Posts: 101
Joined: Sun Feb 11, 2018 8:44 pm

Re: Subforum Different Colour [MyInvision]

Post by Lownoise »

stevemaury wrote: Thu Oct 11, 2018 1:39 pm Every forum can be assigned a separate style, so just create child styles, recolor, and assign as desired. Or do you want this in viewforum?
Image
It's Nice To Be Important, But It's More Important To Be Nice!
Trance Vizion ● (Trance Music Discussion Board). www.trancevizion.nl
User avatar
DTMWC
Registered User
Posts: 379
Joined: Tue Jan 16, 2018 6:17 am

Re: Subforum Different Colour [MyInvision]

Post by DTMWC »

You could add this code to the bottom of your styles/MyInvision/theme/myinvision.css style sheet.

Code: Select all

a.subforum.read {
	color: orange;
	font-weight: bold;
}

a.subforum.unread {
	color: red;
	font-weight: bold;
}
Delete the bold bit if you don't want that, change the colours to the colours you want.


Also if you want to change the colour of the folder icon next to the text:

Code: Select all

a.subforum.read .icon.icon-blue {
	color: orange;
}

a.subforum.unread .icon.icon-red {
	color: red;
}

Note: Make a backup copy of the style sheet before editing + don't forget to purge the cache in the ACP when you've uploaded the edited style sheet..
Boom.
User avatar
Lownoise
Registered User
Posts: 101
Joined: Sun Feb 11, 2018 8:44 pm

Re: Subforum Different Colour [MyInvision]

Post by Lownoise »

Dan Stylez wrote: Thu Oct 11, 2018 3:17 pm You could add this code to the bottom of your styles/MyInvision/theme/myinvision.css style sheet.

Code: Select all

a.subforum.read {
	color: orange;
	font-weight: bold;
}

a.subforum.unread {
	color: red;
	font-weight: bold;
}
Delete the bold bit if you don't want that, change the colours to the colours you want.


Also if you want to change the colour of the folder icon next to the text:

Code: Select all

a.subforum.read .icon.icon-blue {
	color: orange;
}

a.subforum.unread .icon.icon-red {
	color: red;
}

Note: Make a backup copy of the style sheet before editing + don't forget to purge the cache in the ACP when you've uploaded the edited style sheet..
Gracias mille Dan Stylez works fine! :D
It's Nice To Be Important, But It's More Important To Be Nice!
Trance Vizion ● (Trance Music Discussion Board). www.trancevizion.nl
User avatar
alhitary
Registered User
Posts: 868
Joined: Wed Jan 17, 2007 7:51 am
Location: ROY
Name: Basil Taha Alhitary
Contact:

Re: Subforum Different Colour [MyInvision]

Post by alhitary »

Dan Stylez wrote: Thu Oct 11, 2018 3:17 pm You could add this code to the bottom of your styles/MyInvision/theme/myinvision.css style sheet.

Code: Select all

a.subforum.read {
	color: orange;
	font-weight: bold;
}

a.subforum.unread {
	color: red;
	font-weight: bold;
}
Delete the bold bit if you don't want that, change the colours to the colours you want.


Also if you want to change the colour of the folder icon next to the text:

Code: Select all

a.subforum.read .icon.icon-blue {
	color: orange;
}

a.subforum.unread .icon.icon-red {
	color: red;
}

Note: Make a backup copy of the style sheet before editing + don't forget to purge the cache in the ACP when you've uploaded the edited style sheet..
How to make a background for subforum plz ?
User avatar
Mannix_
Registered User
Posts: 1838
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt
Contact:

Re: Subforum Different Colour [MyInvision]

Post by Mannix_ »

alhitary wrote: Sun Oct 14, 2018 12:27 pm How to make a background for subforum plz ?
Just add background-color rule to this
Dan Stylez wrote: Thu Oct 11, 2018 3:17 pm You could add this code to the bottom of your styles/MyInvision/theme/myinvision.css style sheet.

Code: Select all

a.subforum.read {
	color: orange;
	font-weight: bold;
}

a.subforum.unread {
	color: red;
	font-weight: bold;
}
Note: Make a backup copy of the style sheet before editing + don't forget to purge the cache in the ACP when you've uploaded the edited style sheet..
example:

Code: Select all

a.subforum.read {
	color: orange;
	font-weight: bold;
	background-color: black;
}

a.subforum.unread {
	color: red;
	font-weight: bold;
	background-color: black;
}
Did I helped You? Consider a donation.
New version of phpBB has been released? My styles aren't validated for it yet? Check my page for the latest downloads!
Post Reply

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