Make Code Changes

In part nine of our Quick Start guide, learn how to make code changes using SFTP.

Discuss in our Forum Discuss in Slack

Finally, we’re going to edit code directly. We’ll commit our edits to Dev, review in Test, and deploy to Live. Let’s get started!


To perform this task, you need a basic understanding of CSS, and you must have an SFTP client installed.

If you haven’t added a new theme to your site, return to the previous lesson and do so.

  1. Navigate to your Site Dashboard, select the Dev tab, and then click Code.

  2. Confirm your Connection Mode is set to SFTP.

  3. Click Connect with SFTP to access the credentials for connecting to your preferred SFTP client.

  4. Click Open SFTP Client, and enter your User Dashboard password when prompted. If you run into issues, please refer to Pantheon's SFTP documentation.

  5. Open the code folder in your SFTP client, and navigate to the theme you installed previously.

  6. Make a significant change to your theme’s CSS; something you’ll easily spot when you look at the site.

  7. Return to the Dev tab of your Site Dashboard. The files you just changed will be highlighted in yellow.


    Click the highlighted file changes in the Dev environment to view the specific diff.
  8. Add a commit message, then click Commit to add these files to your Dev environment.

  9. Deploy your changes to the Test environment and review them.

  10. Deploy to the Live environment when you’re satisfied with your review.