Adding Images in Terra

Terra allows you to add a hero background, client, and your latest projects or portfolio images.

Adding a Hero Background Image

To add your own hero background image, follow these instructions:

  1. Select the image from your PC that you want to display as a background image and resize it, if necessary.
  2. Copy the image to the assets/images folder.
    • If you’re testing the template locally on your PC, then simply copy the image.
    • If you’ve already uploaded the template to your host’s server, then FTP the image into the assets/images folder.
  3. Open the style.css file in a code editor and perform a search for ../images/background.jpg within the file.
  4. Change the file name to the file name of your background image.
    • For more information, refer to the code example.
  5. Save the file and view the updates on your PC.
    • If you’re testing locally, simply drag the index.html file into an empty tab of your favorite internet browser.
    • If you’ve already uploaded the template to your host’s server, then FTP the updated index.html file, and then view it in your browser.

Here is the code which you need to modify to display your new hero background image:

.home {
    background: #ffffff url("../images/background.jpg") no-repeat center top;
    -webkit-background-size: cover;
       -moz-background-size: cover;
         -o-background-size: cover;
            background-size: cover;
}

Adding Project or Portfolio Images

To add your own images, follow these instructions:

  1. Select the images from your PC that you want to showcase and resize them, if necessary.
  2. Copy those images to the assets/images folder.
    • If you’re testing the template locally on your PC, then simply copy those images.
    • If you’ve already uploaded the template to your host’s server, then FTP those images into the assets/images folder.
  3. Open the index.html file in a code editor and look for the recent-work section within the file.
  4. Change the file names to the file names of your project/portfolio images.
    • For more information, refer to the code example.
  5. Repeat step 4 as needed.
  6. Save the file and view the updates on your PC.
    • If you’re testing locally, simply drag the index.html file into an empty tab of your favorite internet browser.
    • If you’ve already uploaded the template to your host’s server, then FTP the updated index.html file, and then view it in your browser.

Here is the code which you need to modify to link a new thumbnail and portfolio images:

<div class="project-image">
    <img src="assets/images/project-1.jpg" alt="">
</div>
...
<div class="project-image">
    <img src="assets/images/project-2.jpg" alt="">
</div>

Adding Client Images

To add client images, follow these instructions:

  1. Select the images from your PC that you want to display and resize them, if necessary.
  2. Copy the images to the assets/images folder.
    • If you’re testing the template locally on your PC, then simply copy the images.
    • If you’ve already uploaded the template to your host’s server, then FTP the images into the assets/images folder.
  3. Open the about.html file in a code editor and look for the clients section within the file.
  4. Change the file names to the file names of your client images.
    • For more information, refer to the code examples.
  5. Repeat step 4 as needed.
  6. Save the file and view the updates on your PC.
    • If you’re testing locally, simply drag the about.html file into an empty tab of your favorite internet browser.
    • If you’ve already uploaded the template to your host’s server, then FTP the updated about.html file, and then view it in your browser.

Here is the code which you need to modify to display your new client images in the about.html page:

<div class="clients">
    <div class="client-logos">
        <div class="image">
            <img src="assets/images/client-1.svg" alt="">
        </div>
        <div class="image">
            <img src="assets/images/client-2.svg" alt="">
        </div>
        <div class="image">
            <img src="assets/images/client-3.svg" alt="">
        </div>
        <div class="image">
            <img src="assets/images/client-4.svg" alt="">
        </div>
        <div class="image">
            <img src="assets/images/client-5.svg" alt="">
        </div>
    </div>
</div>