This tutorial provides all the PHP and CSS code which you simply copy and paste into your child themes files.
The code only works when the WPML plugin is active.
Here’s the result which you can easily modify if needed:
You can use this code in any theme as long as you change the CSS class in the PHP code.
Here’s all the code for logged in members:
You need to subscribe to fully access this tutorial.