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.

Sticky + Announcement bg color

2 posters

Go down

In progress Sticky + Announcement bg color

Post by Mati October 13th 2011, 12:35 am

Dose any one knows how to change background-color for Sticky & Announcement.
Mati
Mati
Hyperactive

Posts : 2020
Reputation : 330
Language : HTML, CSS & JavaScript
Location : Forum Services

https://forumservice.forumotion.com/

Back to top Go down

In progress Re: Sticky + Announcement bg color

Post by ankillien October 13th 2011, 3:50 am

Hi,

You can use this javascript to change the background color...

Code:
$(function(){
  $('.tcl:contains("Sticky")').each(function(){
    $(this).parent('tr').children('td').css('background-color' , 'red');
  });
});
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

In progress Re: Sticky + Announcement bg color

Post by Mati October 13th 2011, 1:32 pm

Thanks ank, this is solved now. Smile
Mati
Mati
Hyperactive

Posts : 2020
Reputation : 330
Language : HTML, CSS & JavaScript
Location : Forum Services

https://forumservice.forumotion.com/

Back to top Go down

In progress Re: Sticky + Announcement bg color

Post by ankillien October 13th 2011, 5:08 pm

Glad I could help Very Happy

Topic Solved
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Back to top


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