Upcoming

How To Make Custom cursor over a specific section Using Elementor Free

Tools and Links Used

Hostinger Fast, beginner friendly WordPress hosting.
Get Hosting
Elementor The free page builder this tutorial is built with.
Get Elementor
Elementor Pro The Pro upgrade used throughout this tutorial.
Get Elementor Pro
Project Files Download the resources used in this tutorial.
Download Files
Kitpapa Ready made Elementor template kits.
Get Templates
Kitninja eCommerce Elementor template kits.
Get Templates

Prompt Used in This Tutorial

Cursor Box Elements Style CSS
<style>
.icon .elementor-icon{
    border: 1px solid rgb(255 255 255 / 30%)!important;
}

.icon:hover .elementor-icon{
    border-color: #2563eb!important;
}

.portfolio-box .portfolio-hover .elementor-spacer-inner{
       transition: all 1s ease;
    }
.portfolio-box:hover .portfolio-hover .elementor-spacer-inner{
        height: 400px!important;
    }
.portfolio-box img{
        transform: scale3d(1, 1, 1);
    transform-style: preserve-3d;
    transition: all 1s ease;
}

.portfolio-box:hover img{
    transform: scale3d(1.3, 1.3, 1)
} 

.portfolio-box .title .elementor-heading-title{
     transition: all 0.3s ease;
}

.portfolio-box:hover .title .elementor-heading-title{
    color: #4277eb!important;
}

</style>
Cursor Box Elements Style CSS Classes
icon
portfolio-box
portfolio-hover
title
Cursor Circle Style CSS
.box .cursor{
    transform: translate3d(-10px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
  transform-style: preserve-3d;
  transition: all 0.1s ease, opacity 0.3s ease;
  opacity: 0;
  color: #0056ff; /* match your blue */
}

.box:hover .cursor{
    transform: translate3d(-50px, -50px, 0px) scale3d(1, 1, 1);
  opacity: 1;
}

.cursor {
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
    will-change: transform;
    transform-style: preserve-3d;
    
}


.circel-text{
    animation: circle 12s linear infinite;
}

@keyframes circle{
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}


.icon-plane{
    transform: translate(-50%, -50%);
}

@media (max-width: 1024px){
.cursor {
    display: none;
    }
}
Cursor Circle Style CSS Classes
box
cursor
circel-text
icon-plane
Cursor over a specific section JS Code
<script>


const cursor = document.querySelector('.cursor');
const portfolioBoxes = document.querySelectorAll('.portfolio-box');


if (cursor && portfolioBoxes.length > 0) {
  
  portfolioBoxes.forEach(box => {
    
    box.addEventListener('mouseenter', () => {
      cursor.style.opacity = '1';
    });
    
   
    box.addEventListener('mousemove', e => {
      cursor.style.top = `${e.clientY}px`;
      cursor.style.left = `${e.clientX}px`;
    });
    
    box.addEventListener('mouseleave', () => {
      cursor.style.opacity = '0';
    });
  });
}

</script>

Get Your FREE Freelancing Roadmap

Stop hopping between tutorials. Grab the Freelancing Mastery Handbook to learn how to choose a skill, build your foundation, find clients, and confidently start your freelancing journey.

Free eBook Download

Related Tutorials

From learning the right skills to building a stronger digital presence, we help you turn ideas into practical, professional results.

Vibe Code a REAL Animated WordPress Website with Claude + Elementor

21.8K views

View Tutorial

Vibe Coding Full Course for Beginners – Build & Launch a Real SaaS

3.3K views

View Tutorial

Edit Videos with ChatGPT Codex — Raw Clips to Finished Reel

3.4K views

View Tutorial

Browse All Tutorials