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

Remove gray lines @ section break / description


  1. ruslan
    Member

    How can I remove the gray line that appears before every section break?

    OR

    How can I remove the gray line that appears after the description?

    Posted 15 years ago #
  2. redityo

    Hi,

    * To remove dotted line after the description, search for these CSS code :

    #main_body .form_description
    {
    	border-bottom:1px dotted #ccc;
    	clear:both;
    	display:inline-block;
    	margin:0 0 1em;
    }

    and change it to

    #main_body .form_description
    {
    	/*border-bottom:1px dotted #ccc;*/
    	clear:both;
    	display:inline-block;
    	margin:0 0 1em;
    }

    * To remove dotted line in section break, search for this CSS code

    #main_body form li.section_break
    {
    	border-top:1px dotted #ccc;
    	margin-top:9px;
    	padding-bottom:0;
    	padding-left:9px;
    	padding-top:13px;
    	width:97% !important;
    }

    change to

    #main_body form li.section_break
    {
    	/*border-top:1px dotted #ccc;*/
    	margin-top:9px;
    	padding-bottom:0;
    	padding-left:9px;
    	padding-top:13px;
    	width:97% !important;
    }

    MachForm Support

    Posted 15 years ago #
  3. ruslan
    Member

    Thanks, it works!

    Posted 15 years ago #
  4. ryanmilles
    Member

    Is it possible to remove the dotted line on a per use basis, rather than adjusting/editing the css for the entire machform installation? Perhaps using the custom CSS class field?

    Posted 10 years ago #
  5. williamansley
    Member

    @ryanmilles: You can do this on a form-by-form basis by pasting the appropriate CSS snippets above into the Advanced CSS field of a custom theme and then assigning that theme to your form. See the documentation here:

    http://www.appnitro.com/doc-theme-editor

    Some trial and error will most likely be necessary.

    Posted 10 years ago #

RSS feed for this topic

Reply