The easiest way is through site administration panel. Here are the steps below:
- Log in to WordPress using admin account.
- Go to Design > Theme Editor section.
- Choose the theme template file (on your right) that you want to edit and then click it.
- After finish editing, click Update File button.
- Log out from WordPress.