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.
The forum of the forums
2 posters

    Prefixes don't stay colored.

    Ramdaman
    Ramdaman
    Active Poster


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

    In progress Prefixes don't stay colored.

    Post by Ramdaman August 20th 2014, 5:57 pm

    https://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;
    }
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    In progress Re: Prefixes don't stay colored.

    Post by Ange Tuteur August 20th 2014, 6:07 pm

    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 : https://help.forumotion.com/t133869-style-topic-title-keywords

      Current date/time is September 22nd 2024, 11:22 pm