FM Design
Would you like to react to this message? Create an account in a few clicks or log in to continue.

IMPORTANT

FM Design is in read-only mode, please click here for more information.

Latest topics
» Forumactif Edge - Releases
by Ange Tuteur Tue 03 Sep 2019, 11:49

» GIFActif - Giphy Button for the Editor
by Ange Tuteur Wed 08 May 2019, 17:21

» Forum Closure
by Ange Tuteur Mon 01 Jan 2018, 01:28

» Chit Chat Thread
by Valoish Sun 31 Dec 2017, 19:15

» Font/Text background color.
by Valoish Sun 31 Dec 2017, 19:11

» Forumactif Messenger - Instant Message Application for Forumotion
by Wolfuryo Sun 31 Dec 2017, 18:24

» [GAME] Count to One Million!
by brandon_g Fri 29 Dec 2017, 18:58

» Post Cards
by manikbiradar Wed 20 Dec 2017, 07:50

» [GAME] Countdown from 200,000
by Valoish Wed 13 Dec 2017, 23:22

» GeekPolice Tech Support Forums - GeekPolice.net
by Dr Jay Mon 11 Dec 2017, 19:12

» Asking about some plugin for Forumotion
by Dr Jay Mon 11 Dec 2017, 19:10

» [GAME] What are you thinking right now?
by Van-Helsing Sat 09 Dec 2017, 14:51

» Widget : Similar topics
by ranbac Wed 06 Dec 2017, 18:11

» Change the Background of the Forum and put an image and how to make prefixs?
by Clement Wed 06 Dec 2017, 15:19

» Hello from Western Australia
by SarkZKalie Wed 06 Dec 2017, 05:34

Recent Tutorials
Top posting users this month

Who is online?
In total there are 14 users online :: 0 Registered, 0 Hidden and 14 Guests :: 2 Bots

None

[ View the whole list ]


Most users ever online was 515 on Tue 14 Sep 2021, 15:24

Sticky , Sticky Global red title

View previous topic View next topic Go down

Canhraungot
Canhraungot
Member
Gender : Female
Posts : 20
Points : 3226
Reputation : 7
Language : Viet Nam
Browser : Browser : Google Chrome Forum Version : Forum Version : phpBB3

PostCanhraungot Sun 24 Jul 2016, 01:45

Sticky , Sticky red headlines worldwide .
I want the title of the article marked sticky male is red . Help me please

@Ange Tuteur
jessy
jessy

Gender : Female
Posts : 102
Points : 3352
Reputation : 14
Language : italy
Browser : Browser : Google Chrome Forum Version : Forum Version : Invision
http://ilgiornaledibordo.forumattivo.com/

Postjessy Sun 24 Jul 2016, 09:22

want this ? ---> javascript --> subforum

Code:
$(document).ready(function() {
$('strong:contains("Important")').each(function(){
$(this).css({ "color": "LIMEGREEN"});
});});$(document).ready(function() {
$('strong:contains("notice")').each(function(){
$(this).css({ 'color': 'ORANGE'});
});});$(document).ready(function() {
$('strong:contains("global announcement")').each(function(){
$(this).css({ 'color': 'Red'});
});});
Canhraungot
Canhraungot
Member
Gender : Female
Posts : 20
Points : 3226
Reputation : 7
Language : Viet Nam
Browser : Browser : Google Chrome Forum Version : Forum Version : phpBB3

PostCanhraungot Sun 24 Jul 2016, 14:54


I want it to show the title theme colors . Like this.
You can help me , thank you very much

Sticky , Sticky Global red title 210
jessy
jessy

Gender : Female
Posts : 102
Points : 3352
Reputation : 14
Language : italy
Browser : Browser : Google Chrome Forum Version : Forum Version : Invision
http://ilgiornaledibordo.forumattivo.com/

Postjessy Sun 24 Jul 2016, 15:20

Panel> General> Messaging and email> Configuration> Topics> Authorize the colors in the securities subject: yes
Canhraungot
Canhraungot
Member
Gender : Female
Posts : 20
Points : 3226
Reputation : 7
Language : Viet Nam
Browser : Browser : Google Chrome Forum Version : Forum Version : phpBB3

PostCanhraungot Sun 24 Jul 2016, 15:26


If you do so , all members can also set the color for the topic . I just want the article Sticky colored . It's like the code below , you can consult and help me

Code:
$(function() {
    var $user = $('.span-tab').find('strong a[href="/u1"]'),
  $user_topic_title = $user.parents(".span-tab").prev().prev().find("a.topictitle");
    $user_topic_title.css("color","red");
});
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12256
Reputation : 2376
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Sun 24 Jul 2016, 16:29

@Canhraungot just to clarify ; You want the topic title color to reflect the Gender of the user ?

For example :
- Male = Red
- Female = Pink
- Undefined = Normal
Canhraungot
Canhraungot
Member
Gender : Female
Posts : 20
Points : 3226
Reputation : 7
Language : Viet Nam
Browser : Browser : Google Chrome Forum Version : Forum Version : phpBB3

PostCanhraungot Sun 24 Jul 2016, 17:00


I want the topic Sticky Global announcement is red like the pictures on
Sticky , Sticky Global red title 210
Valoish
Valoish
Graphic Designer
Gender : Female
Age : 28
Posts : 3671
Points : 7361
Reputation : 360
Location : NYC
Language : English, Russian, Hebrew
Browser : Browser : Google Chrome Forum Version : Forum Version : phpBB2
http://www.canvasforums.com https://twitter.com/Valoishx3

PostValoish Fri 29 Jul 2016, 17:18

I'm assuming you want the title of the Sticky to be red (and not have a red topic icon for stickies).. If so..

Make a new JS page and make the placement in "Sub Forums", then paste this in;
Code:
$(function() {
  /* add a class to the cells of stickies */
  $("dl.icon[style*='http://url_image_Note.jpg']").addClass("Note");
});

Then add this to your CSS;
Code:
dl.Note a { color: red!important; }

If you also want to change the background color of your stickies, add this to your CSS;
Code:
dl.Note { background-color:#fcdddd!important; }
I used this tutorial, with a few modifications

I used this tutorial on my forum (version phpBB2) and it worked, so I'm assuming this should work as well o 3o

Hope this helped~ Sticky , Sticky Global red title 1f60a
Anonymous
Guest
Guest

PostGuest Tue 23 Aug 2016, 17:40

*** This topic will be closed soon if we don't get any feedback. @Canhraungot Is this solved / still needed? ***
Anonymous
Guest
Guest

PostGuest Wed 24 Aug 2016, 02:52

Member has been online: Sticky , Sticky Global red title F18136ab5d26423dacd6c53c845f9abb
No reaction.

Anonymous
Guest
Guest

PostGuest Wed 24 Aug 2016, 02:53

*** Topic solved, locked and archived ***
Sponsored content

PostSponsored content

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!


Create a new account

Log in

Already have an account? No problem, log in here.


Log in

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