News:

Create A Forum Installed

Author Topic: Custom titles  (Read 1968 times)

0 Members and 1 Guest are viewing this topic.

Offline Andreas

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile

Badges: (View All)
Topic Starter First Post Level 1
Custom titles
« on: July 20, 2014, 06:48:09 pm »
Is it possible to get the custom titles coloured?


If so, how?

Share on Facebook Share on Twitter


Offline CreateAForum

  • Administrator
  • *****
  • Posts: 7191
  • Karma: 328
    • View Profile

Badges: (View All)
Avatar Linux User Tenth year Anniversary
Re: Custom titles
« Reply #1 on: July 20, 2014, 08:15:02 pm »
I don't believe so
Like Create A Forum? Support me at https://www.patreon.com/vbgamer45/

Offline CyanProductions

  • Newbie
  • *
  • Posts: 39
  • Karma: -1
    • View Profile

Badges: (View All)
Level 3 10 Posts Karma Good
Re: Custom titles
« Reply #2 on: January 02, 2015, 11:32:27 pm »
You can:

.title
{
    color: red;
}
« Last Edit: January 02, 2015, 11:49:05 pm by CyanProductions »

Offline CyanProductions

  • Newbie
  • *
  • Posts: 39
  • Karma: -1
    • View Profile

Badges: (View All)
Level 3 10 Posts Karma Good
Re: Custom titles
« Reply #3 on: January 03, 2015, 06:07:11 pm »
However if you would like to give a specific title a color, use this:

Footers:

Code: [Select]
<script>
var CustomTitle = 'X';

$('li.titile').filter(function () {
    return $(this).text() === CustomTitle;
}).css('color', 'red');
</script>

Chnage X to the custom title

 

Related Topics

  Subject / Started by Replies Last post
5 Replies
583 Views
Last post April 20, 2012, 03:21:06 am
by aIURbliS
2 Replies
391 Views
Last post January 21, 2013, 12:34:59 am
by Illimani
6 Replies
1915 Views
Last post September 28, 2015, 09:09:05 pm
by CreateAForum
1 Replies
481 Views
Last post January 05, 2020, 01:08:16 am
by CreateAForum
5 Replies
1385 Views
Last post October 16, 2020, 04:38:07 am
by CreateAForum