Page 1 of 1

Subforum Different Colour [MyInvision]

Posted: Thu Oct 11, 2018 10:42 am
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!

Re: Subforum Different Colour [MyInvision]

Posted: Thu Oct 11, 2018 1:39 pm
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?

Re: Subforum Different Colour [MyInvision]

Posted: Thu Oct 11, 2018 1:59 pm
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

Re: Subforum Different Colour [MyInvision]

Posted: Thu Oct 11, 2018 3:17 pm
by Dan Stylez
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..

Re: Subforum Different Colour [MyInvision]

Posted: Fri Oct 12, 2018 9:19 am
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

Re: Subforum Different Colour [MyInvision]

Posted: Sun Oct 14, 2018 12:27 pm
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 ?

Re: Subforum Different Colour [MyInvision]

Posted: Sun Oct 14, 2018 1:54 pm
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;
}