Have your say in Community Polls: What was/is your greatest motivation to start your own business?

How can I increase the size of my swiper button's white background circle?

How can I increase the size of my swiper button's white background circle?

lenarei
Explorer
52 3 4

Dear community,

 

The white background circle of my swiper buttons for the swiper carousel are really small and I would like to make that bigger, just as in the image below:

 

lenarei_0-1667384880523.png

I have tried to checked the CSS for .swiper-button-prev and it looks like this

 

 

 

/* Arrows */
.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  z-index: 10;
  cursor: pointer;
  margin-top: -22px;
  -moz-background-size: 44px 44px;
  -webkit-background-size: 44px 44px;
  background-size: 44px 44px;
  display: flex;
  align-items: center;
  background-color: {{ col_page_bg }};
  transition: all 80ms ease-out;
  border-radius: 50%;
  background-clip: content-box;
  color: #757575;
}

 

 

 

 

So the white circle should have 44px x 44px, right? But when I check in the browser,the content only takes up 9,2 x 15px. I am lost on where to adjust this and would appreciate any kind of help 🙂

 

Thanks in advance!

Replies 0 (0)