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

fields highlighted yellow


  1. hipfish
    Member

    Hi!

    Just manically trying to implement the form into a website :)

    How do I change the highlighting colour when a user clicks on a field to input on the form?

    Pls could you tell me in laymans terms as I have tried everything!

    Thanks!!!!!!!!!

    Posted 16 years ago #
  2. WarPig
    Member

    Look in the generated view.css (or the original view.css file) which is in the data folder. Look for the section:

    /**** Guidelines and Error Highlight ****/
    form li.highlighted
    {
            background-color:#XXXXXX;

    Just change the XXXXXXX with your fav hex...

    Posted 16 years ago #
  3. mindysch
    Member

    This is not working for me.
    I don't know why! the view.css on the server says:

    /**** Guidelines and Error Highlight ****/
    form li.highlighted
    {
    background-color:#E7F0F7;

    But the light blue color I want is not showing up as the highlighting color.
    Anything I am missing?

    Posted 15 years ago #
  4. mindysch
    Member

    Side note: I would like the same blue color that shows up when you edit a form from the MachForm control panel. Thanks for any help.

    Posted 15 years ago #
  5. redityo

    Hi mindysch,

    I think it should work by changing "form li.highlighted" color style, could you show me your form url ?

    anyway to change the color in admin panel, you should edit "index.css" in your machform folder. Try to search these style :

    #form_result li.current_edit {
    			border: 1px solid #CCCCCC;
    			background-color: #F3F7FB;
    }
    #form_result li.current_edit .hover_ready:hover {
    			background-color: #F3F7FB;
    }

    change background color value to meet your requirement


    MachForm Support

    Posted 15 years ago #

RSS feed for this topic

Reply