This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 2

Problem with class="highlighted"


  1. Damien
    Member

    Dear All,

    I searched this forums about changing the color of the class "highlighted" but found only 1 post that didn't really help.
    .highlighted is the class that defines among other things the color of the highlight when you click on any field of the form.
    By default, it's a yellowish color.

    You would think that the CSS file from the Machform folder would solve the problem... but it doesn't, at least not for me.
    I checked 3 CSS files:
    /data/form_1/css/view.css
    /view.css
    /index.css

    None of those 3 files above, when set up that way, (see below) changes the color of the highlight:
    #main_body form li.highlighted {background-color:#5D90BA;}

    What did I miss and do you guys have any advices?

    Thanks,

    Damien

    Posted 14 years ago #
  2. redityo

    Hi Damien,

    Changing the highlight code in CSS menu from machform admin should working fine. Or you can try to change the code like this one :

    /**** Guidelines and Error Highlight ****/
    #main_body form li.highlighted
    {
    	background-color:#5D90BA !important;
    
    }

    Maybe you've embed the code using "advance embed" code that might be get interfere from another CSS code.

    If the highlight code still doesn't change, could I see the form url ?


    MachForm Support

    Posted 14 years ago #
  3. yuniar

    That should be the correct code already.
    Try to delete your browser cache and then refresh your form.

    If the problem persist, can you let me know the URL to your form?
    I'll check it.

    You can post it here or send it via email.


    MachForm Founder

    Posted 14 years ago #

RSS feed for this topic

Reply