Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

306
Views
Is it possible to have the hero image source change when hovering on another element?

I am using a template so it is not as simple as my research has been able to show me. I cannot seem to figure this out.

My goal is to have the image (id="original-hero") change based on hovering over the three different links ("section-1","section-2","section-3"). How would I go about making this happen?

<li class="l-section section section--is-active">
    <div class="intro">
      <div class="intro--banner">
        <h1>Title</h1>
        <button class="cta">Hire Us
          <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 150 118" style="enable-background:new 0 0 150 118;" xml:space="preserve">
          <g transform="translate(0.000000,118.000000) scale(0.100000,-0.100000)">
            <path d="M870,1167c-34-17-55-57-46-90c3-15,81-100,194-211l187-185l-565-1c-431,0-571-3-590-13c-55-28-64-94-18-137c21-20,33-20,597-20h575l-192-193C800,103,794,94,849,39c20-20,39-29,61-29c28,0,63,30,298,262c147,144,272,271,279,282c30,51,23,60-219,304C947,1180,926,1196,870,1167z"/>
          </g>
          </svg>
          <span class="btn-background"></span>
        </button>
        <img id="original-hero" src="assets/img/image.png" alt="image">
      </div>
      <div class="intro--options">
        <a id="section-1" href="#0">
          <h3>Title</h3>
          <p>text</p>
        </a>
        <a id="section-2" href="#0">
          <h3>Title</h3>
          <p>text</p>
        </a>
        <a href="#0">
          <h3>Title</h3>
          <p>text</p>
        </a>
      </div>
    </div>
  </li>
about 4 years ago · Santiago Gelvez
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!