Appnitro Software Forums » MachForm

Review Table Column widths

(5 posts)

  1. I'd really appreciate a heads up on the location where you can alter the column width and the css for the font styles when you review your form.

    Thanks

    Posted 1 year ago #
  2. You can change these CSS code for review table layout :

    /** Form Review **/
    #machform_review_table tbody tr:hover
    {
    	background-color: #FFF7C0;
    }
    
    .alt{
    	background: #efefef;
    }
    
    #machform_review_table td
    {
    	text-align: left;
    	border-bottom:1px solid #DEDEDE;
    	padding:5px 10px;
    }

    for example you want to change the font color and size in review page, you can change "#machform_review_table td" like this:

    #machform_review_table td
    {
    	text-align: left;
    	border-bottom:1px solid #DEDEDE;
    	padding:5px 10px;
    color:#cc0000;
    font-size:14px;
    }
    Posted 1 year ago #
  3. Thanks...but what I mean to do is change the 40% 60% column sizes in the review table the the user sees before submitting their info. I would prefer to swap the proportions because I have a lot of copy in the left column.

    Much appreciated...

    Posted 1 year ago #
  4. To change that column size, you'll need to modify your "includes/view-functions.php" file.
    There are two places need to be modified. Around line 2342 and 2442.

    The code is this:

    $entry_data .= "<td width=\"40%\"><strong>{$data['label']}</strong></td>\n";
    $entry_data .= "<td width=\"60%\">".nl2br($data['value'])."</td>\n";
    Posted 1 year ago #
  5. Ahhh....didn't see the second area. Works now.

    Thanks for the quick response.:)

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.