The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Announcement table background color

4 posters

Go down

Solved Announcement table background color

Post by TheCrow Wed Jan 08 2014, 01:32

How can i change the background color of the topics in the announcement tables? I mean the topics in the table above the topics in each category:

Announcement table background color AGaDHqr
TheCrow
TheCrow
Manager
Manager

Male Posts : 6898
Reputation : 794
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

Solved Re: Announcement table background color

Post by SLGray Wed Jan 08 2014, 02:09



Announcement table background color Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51464
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Announcement table background color

Post by TheCrow Wed Jan 08 2014, 22:44

It doesn't work..
TheCrow
TheCrow
Manager
Manager

Male Posts : 6898
Reputation : 794
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

Solved Re: Announcement table background color

Post by Ange Tuteur Thu Jan 09 2014, 01:39

Hello ,

You could do this by adding a class to the topics that have your announcement image.

First javascript :
Administration panel > Modules > HTML & JAVASCRIPT > Javascript codes management > create a new script

Title : What you wish
Placement : in the subforums
Code:
jQuery(document).ready(function () { jQuery('.tcl.tdtopics:has(img[src="https://cdn1.iconfinder.com/data/icons/free-large-boss-icon-set/32/Global_manager.png"])').addClass('importantTopic'); });

If you change the announcement image you have to change it in the script here :
Code:
:has(img[src="https://cdn1.iconfinder.com/data/icons/free-large-boss-icon-set/32/Global_manager.png"])

Then add your CSS to style the topic :
Display > Pictures and colors > Colors > CSS stylesheet
Code:
.importantTopic { background:blue !important; }
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Announcement table background color

Post by TheCrow Thu Jan 09 2014, 15:28

It works.. Thanks! Solved!
TheCrow
TheCrow
Manager
Manager

Male Posts : 6898
Reputation : 794
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

Solved Re: Announcement table background color

Post by Help@Bearville Thu Jan 09 2014, 16:25

Admin Panel> Display> Colours> look in the coloumn background Colours
Help@Bearville
Help@Bearville
Forumember

Female Posts : 57
Reputation : 1
Language : English Afrikaans And Zulu

http://www.bearvillesuperhero.com

Back to top Go down

Solved Re: Announcement table background color

Post by Ange Tuteur Thu Jan 09 2014, 18:03

Topic solved and archived
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum