The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Announcement table background color

View previous topic View next topic Go down

Solved Announcement table background color

Post by Luffy on 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:


Luffy
Manager
Manager

Male Posts : 4035
Reputation : 407
Language : Greek, English
Location : Greece

http://www.thinktankforum.net

Back to top Go down

Solved Re: Announcement table background color

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



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


SLGray
Administrator
Administrator

Male Posts : 35613
Reputation : 2372
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Announcement table background color

Post by Luffy on January 8th 2014, 9:44 pm

It doesn't work..






Luffy
Manager
Manager

Male Posts : 4035
Reputation : 407
Language : Greek, English
Location : Greece

http://www.thinktankforum.net

Back to top Go down

Solved Re: Announcement table background color

Post by Ange Tuteur on 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
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Announcement table background color

Post by Luffy on January 9th 2014, 2:28 pm

It works.. Thanks! Solved!






Luffy
Manager
Manager

Male Posts : 4035
Reputation : 407
Language : Greek, English
Location : Greece

http://www.thinktankforum.net

Back to top Go down

Solved Re: Announcement table background color

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

Admin Panel> Display> Colours> look in the coloumn background Colours

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

Topic solved and archived

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


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