Changing color of the arrow in next buttons | XM Community
Question

Changing color of the arrow in next buttons


Badge +1

Hi everyone ! 

Does anyone know how to change the arrow color in the next button ? I need to change it from black to white. I tried some CSS codes posted by the community in other posts, but none of them worked. I have customized the background color of some next buttons and I don’t know if the script for the arrow color is overrided by the background one.

 


3 replies

Userlevel 2
Badge +6

Hi @Forno_99 
Did you try to put !important in the code? sometimes it will overwrite 

/* Target the arrow specifically */

.NextButton svg {

    fill: white !important; /* Set the arrow color to white */

}

Badge +1

Hi ! Yes, I tried to put !important in the code but it didn’t work. Do you mind if I ask you if that code is for CSS or Java ? I’m not very pratical with coding

Userlevel 2
Badge +6

That is for CSS

Leave a Reply