Editing a Custom Form Theme for OS X

So you want to create your own theme? Great! All you need to do is create a new theme, edit the default.css file until it's styled the way you like, and put all your referenced images in the images folder.

Okay, it's a little more complicated than it sounds. But with just a little work, you'll be ready to go with your new custom theme.

Step 1: Set Up a New Theme Package

Step 2: Export a Form Using Your New Theme

If you're really brave, you can edit default.css without seeing how your changes affect a form. But if you want to do it the easy (and smart) way, you'll need to export a form using your new theme. If you did everything correctly in the previous step, you should be all set to do this.

Do you see your theme in the Theme Browser in Web Form Builder? We do!

Create a form using your new theme, and add in a few elements so you'll see what they end up looking like. Include a header, some text, and a few inputs.

Now go to File > Export and choose one of the two options to export your form's files. We'll use Manual Server Setup for this tutorial.

When the Form Exported window appears, click the Open in Finder button at the bottom.

This opens the folder where all your exported form's files can be found.

You're going to create a new website project using the files in this folder so you can edit the theme while seeing a preview of your work. To make these changes, we recommend using our own Web Editor.

Step 4: Create a Website Project Using Your Exported Form's Files

You'll need to create a new project using the form files you just exported. In Web Editor, go to File > New Project > From Files and Folders…

Give your project a name in the Project field, choose the folder where you want to save your project, and click Next.

Select the form folder that was exported in step 3 and click OK.

Now your all form's files appear in the Project Navigator on the left, allowing you to make any changes you like to the theme. Double-click the HTML file at the top of the Project Navigator to open it in the preview pane. Then navigate to default.css by clicking the arrow next to the theme folder, the folder with your theme name, and the CSS folder. Double-click this CSS file to open it in the secondary editor pane. You're ready to go! Remember that you can click elements in the preview to highlight their associated CSS code in the editor pane.

Step 5: Make a Bunch of Changes to Your Theme

You can go nuts now, making all the changes you like to the styling of your form. Edit CSS, replace the images found in the images folder, and anything else you need to do.

When you feel like your theme is sufficiently styled, right-click default.css in the Project Navigator on the left and choose Save.

Step 6: Copy the Edited Theme into the Unpacked Theme Folder

Now you need to take the CSS and images you just edited in that exported form and copy them over to the folder that contains the theme's unpacked files. Basically, you're taking the theme folder you worked on in the last step and copying it over the other theme folder.

Copy this folder by right-clicking it and choosing Copy "theme".

Then paste it over this folder by right-clicking in the white space below the theme folder and choosing Paste Item.

When you are prompted to replace the existing files, do it. Almost done!

Step 7: Make a Preview Screenshot

Now you need to add a preview image of your theme so that it shows the correct new design in the Theme Browser. You can always do this step later if you need to. In OS X, you can press Shift+Cmd+4 to open a screenshot tool. Draw a rectangle around the preview of your form with the dimensions of 460x360 pixels. The screenshot will be in your Desktop folder. Rename this file main.png and copy it into the preview folder inside your unpacked theme folder. You'll need to save over the existing main.png file.

Step 8: Zip Up Your New Theme

Once you've made all the changes you intend to make to your new theme, you need to recompress everything into a nice, neat FBT package.

Select all four of the files in the main folder of your theme. Right-click and choose Compress 4 Items.

This creates a ZIP file in this directory called Archive.zip that contains all four of these items.

Single-click Archive.zip and rename it. We recommend calling it "Web_Form_Builder_[your theme name].fbt". Don't forget the .fbt on the end!

Step 9: Install Your New Theme

Double-click the new .FBT file and the theme will self-install. Click the Themes toolbar icon and your new theme will now appear in the Theme Browser.