• Resolved foodergolove

    (@foodergolove)


    Hi all,

    I was trying to remove the word “previous” and “next” that appear when you mouse over the left and right sides of a photo (the full size photo that appears after clicking on the thumbnails). I tried this:

    .envirabox-nav:hover span { visibility: hidden !important; }

    in my theme’s CSS. What happened was that the black circle arrows disappeared, but the “previous” and “next” texts still appear in mouse over. Any ideas? Thank you!

    https://wordpress.org/plugins/envira-gallery-lite/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Tim Carr

    (@n7studios)

    The CSS you refer to does exactly what I said it would do, per my other thread – that is, it will remove the next and previous image icons. Therefore, if you don’t require that to happen, don’t use that CSS.

    To remove the previous and next text which appears when hovering over the black circle arrows, add the following code to a new file at wp-content/plugins/envira-gallery-remove-prev-next-text.php:

    https://gist.github.com/n7studios/6d69db541b467205cb98

    Thread Starter foodergolove

    (@foodergolove)

    Thank you. I apologize if my question was unclear. Thank you very much for this really great help!

    Thread Starter foodergolove

    (@foodergolove)

    What should the new file’s name be? Thanks.

    Thread Starter foodergolove

    (@foodergolove)

    Tim Carr,

    I apologize for asking for help so much! You have really helped me thus far. The only last thing I a not sure of is this: you said to create a new file with that code inside of it. What should I name the file? Thank you!

    Thread Starter foodergolove

    (@foodergolove)

    Hi,

    Don’t hate me — sorry for all the trouble despite your kind help. So I made a new file at wp-content/plugins/ called envira-gallery-remove-prev-next-text.php with the code you linked me to, but the next and previous still appear. Any ideas? Thanks again very much for your generous help!

    Thread Starter foodergolove

    (@foodergolove)

    I got it to work! I just had to activate it as a plugin. Thank you! You are a genius!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Having trouble removing "previous" and "next" hovers’ is closed to new replies.