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 January 8th 2014, 12:32 am

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 : 6902
Reputation : 795
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

Solved Re: Announcement table background color

Post by SLGray January 8th 2014, 1:09 am



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 : 51410
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 January 8th 2014, 9:44 pm

It doesn't work..


Announcement table background color Thecro10
Forum of the Forums

Forumotion Rules | Tips & Tricks |
FAQ | Did you forget your password?



*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
TheCrow
TheCrow
Manager
Manager

Male Posts : 6902
Reputation : 795
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

Solved Re: Announcement table background color

Post by Ange Tuteur January 9th 2014, 12:39 am

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 : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Announcement table background color

Post by TheCrow January 9th 2014, 2:28 pm

It works.. Thanks! Solved!


Announcement table background color Thecro10
Forum of the Forums

Forumotion Rules | Tips & Tricks |
FAQ | Did you forget your password?



*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
TheCrow
TheCrow
Manager
Manager

Male Posts : 6902
Reputation : 795
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

Solved Re: Announcement table background color

Post by Help@Bearville January 9th 2014, 3:25 pm

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 January 9th 2014, 5:03 pm

Topic solved and archived
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
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