• Resolved jeanmotta

    (@jeanmotta)


    How do we change/replace the stock photo on our home page (currently below the Nav Bar. The Demo for this theme shows this space as a slider, which we would prefer, but would be happy just to learn how to replace the stock photo with another still photo. Steps to accomplish both would be greatly appreciated.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Link would be useful.. ??

    Thread Starter jeanmotta

    (@jeanmotta)

    here’s the website in question
    https://tarakelleher.com/

    the stock photo of a home with palm trees doesn’t work in our midwestern market!

    Your featured stock image is controlled by your themes: ‘images/featured.png’ file as shown below.

    <div class="hpmainleft">
      <img alt="TaraKelleher.com" src="https://tarakelleher.com/wp-content/themes/agentpress_1.02/images/featured.png">
    </div>

    The super easiest way to change the image for a new one is to overwrite the existing image with a new one (make sure you use the exact same dimensions or you could break the CSS layout) everytime you want to alter the main stock image.

    Implementing a slider is not a huge biggie task, but that’s another story..

    Thread Starter jeanmotta

    (@jeanmotta)

    Does our replacement photo need to be a .png file?

    If you don’t want to edit any code then you need to overwrite the image which means keeping the same name AND file type (i.e. png).

    If you edit the code to say:

    <div class="hpmainleft">
      <img alt="TaraKelleher.com" src="https://tarakelleher.com/wp-content/themes/agentpress_1.02/images/featured.jpg">
    </div>

    Then you can use jpg type instead but you will have to edit your themes home page template file.

    Thread Starter jeanmotta

    (@jeanmotta)

    I’ve resized the photo to the exact dimensions of the stock photo and saved it as a .png file. I don’t have a lot of experience with the admin section so please tell me where exactly I find the code you referred to so that I can overwrite it.

    Thread Starter jeanmotta

    (@jeanmotta)

    never mind! I found it and successfully implemented your instruction. Thanks ever so much!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to change Stock Photo on Agent Press theme’ is closed to new replies.