Support » Plugin: Slider by Nivo - Responsive WordPress Image Slider » Translate the button Prev and Next

  • Resolved renatohs

    (@renatohs)


    Hi

    How I can translate only button Prev and Next of Slider?

    Could you help me?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Silviu-Alex Dinu

    (@silviu0themeisle)

    Hi there,

    Thank you for reaching out about your question.

    Unfortunately, this is a core functionality of the slider and you may need to use a translation plugin such as Polylang or install our Poedit tool that can be found here -> https://docs.themeisle.com/article/893-translating-themes-using-poedit (though I doubt it would recognize the buttons as strings and allow you to translate them.
    Another way to solve it is by using custom CSS. Altough it is beyond the support services we provide, I’ll make an exception and try to help you out with this one. Please go to Dashboard -> Appearance -> Customize -> Additional CSS and add the following code (assuming you want them translated in Portuguese):

    This is for Previous button:

    .nivo-directionNav .nivo-prevNav{
    	visibility: hidden;
    }
    
    .nivo-directionNav .nivo-prevNav:after {
    	content: "\00AB Anterior";
    	visibility : visible;
    	float: left;
    	background-color: rgb(32,32,32,0.7)
    }

    This is for Next button:

    .nivo-directionNav .nivo-nextNav{
    	visibility: hidden;
    }
    
    .nivo-directionNav .nivo-nextNav:after {
    	content: " Próximo \00BB";
    	visibility : visible;
    	float: right;
    	background-color: rgb(32,32,32,0.7)
    }

    Please let me know if it works for you. Hope this helps!

    [ Signature deleted ]

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Hi Silviu, Thanks for the great support but please lose the signature. That’s prohibited in these forums as it’s been horribly abused in the past by others.

    Regards,
    Silviu

    Yes, bad people ruin it for others. Please refrain from that.

    https://wordpress.org/support/guidelines/#avoid-signatures

    Thread Starter renatohs

    (@renatohs)

    Thank you my friend! Works fine!! I love you! 🙂

    • This reply was modified 3 years ago by renatohs.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Translate the button Prev and Next’ is closed to new replies.