Insights / Tutorial

Custom Slider or Carousel Button in Elementor

Default slider arrows and dots do not always match your design. Customizing the slider or carousel buttons in Elementor lets you create controls that fit your brand perfectly. This guide shows how to style them with a little CSS.

LIVE PREVIEW / CARD-CAROUSEL

Custom buttons controlling a carousel.

The separate previous and next controls move full cards inside the frame.

01 / 03

Slide 01

Custom navigation drives this carousel.

02 / 03

Slide 02

Custom navigation drives this carousel.

03 / 03

Slide 03

Custom navigation drives this carousel.

01 / 03

A live recreation of the technique explained in the guide below.

Default slider arrows and dots do not always match your design. Customizing the slider or carousel buttons in Elementor lets you create controls that fit your brand perfectly. This guide shows how to style them with a little CSS.

JavaScript code snippet for Left/Right Navigation:

<script data-minify="1" src="https://mojibur.com/wp-content/cache/min/1/jquery-3.6.0.min.js?ver=1790750029"></script>
<script>
var $ = jQuery
$(document).ready(function(){
    
    $('.card-carousel .card-prev').on('click', function(){
        
        $(this).closest('.card-carousel').find('.elementor-swiper-button-prev').trigger('click')
        $(this).closest('.card-carousel').find('.swiper-container').trigger('mouseleave')
    })
    
    $('.card-carousel .card-next').on('click', function(){
        $(this).closest('.card-carousel').find('.elementor-swiper-button-next').trigger('click')
        $(this).closest('.card-carousel').find('.swiper-container').trigger('mouseleave')
    })
    
    $('.card-carousel .card-prev a, .card-carousel .card-next a').on('click', function(e){
        e.preventDefault()
    })
})
</script>

Top section class

card-carousel

Next button class

card-next

Prev button class

card-prev

Live Preview

How it works

The slider generates navigation elements such as arrows and dots that you can target with CSS. By adjusting their size, color, position, and hover state, you turn the default controls into custom buttons. The slider behavior stays the same while the look becomes yours.

Tips and customization

  • Recolor arrows and dots to match your palette.
  • Increase the click area for easier tapping on mobile.
  • Add a hover effect for better feedback.

FAQ

Does this change how the slider works?
No. It only restyles the controls. The sliding behavior is untouched.

Do I need Pro?
It depends on the slider widget, but the CSS styling itself works on any plan.

ARTICLE END

Ready to make it work?

I can help turn the idea into a reliable WordPress experience.

Start a conversation ↗

Need help with this?

Let's build it for you

If this guide is close to what you need, I can build the complete solution on your WordPress site.

Prefer email? f@mojibur.com