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.

Prefixes don't stay colored.

View previous topic View next topic Go down

In progress Prefixes don't stay colored.

Post by Ramdaman on 20th August 2014, 17:57

http://help.forumotion.com/t134270-buttons-to-add-prefixes-in-topic-titles#903824


I can't seem to get my prefix colored.


This is my JavaScript.



Code:
jQuery(document).ready(function() {
jQuery('#modif_topic_title').after('<input type="button" value="In Progress" onclick="set_solved(this.form.elements[\'modif_topic_title\'],\'[IN PROGRESS]\')" style="display: inline;" id="button_label">');
});



And this is my CSS.



Code:
#InProgress{
color: #FFFF00;
}
avatar
Ramdaman
Active Poster

Male Posts : 1614
Reputation : 98
Language : English, Albanian, Macedonian, Russian | HTML, CSS
Location : New York City

http://ndihme.forumotion.com/forum

Back to top Go down

In progress Re: Prefixes don't stay colored.

Post by Ange Tuteur on 20th August 2014, 18:07

Hello,

You can color the buttons with this Rule :
Code:
#button_label {
 color:#FF0;
}

Are you trying to color the texts ? If so this tutorial was only for adding buttons which insert prefixes. There is a tutorial on how to style certain keywords in the topic title : http://help.forumotion.com/t133869-style-topic-title-keywords
avatar
Ange Tuteur
Forumaster

Male Posts : 13176
Reputation : 2881
Language : EN10, FR5
Location : Macungie, PA

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