ReReplacer

name change on mobile

9 months 1 week ago #76766

Odin (PKA Jeff) Mayland's Avatar Odin (PKA Jeff) Mayland

173.236.80.186/~medicce/index.php

On desktop the off-canvas trigger is titled "Courses" and only displays the "Courses menu Module".

When the template switches to mobile, that off-canvas feature includes the Main Menu module AND the Course menu module. I would like to change the name to "MENU" when this happens.

So far I can't get it to work.

https://www.dropbox.com/s/65p9mpbbijcym65/Screen%20Shot%202017-12-12%20at%2011.02.24%20AM.jpg?dl=0
https://www.dropbox.com/s/bxpwqrvpi3pixi3/Screen%20Shot%202017-12-12%20at%2011.02.28%20AM.jpg?dl=0
https://www.dropbox.com/s/66m91nrd6vh2987/Screen%20Shot%202017-12-12%20at%2011.02.31%20AM.jpg?dl=0

9 months 1 week ago #76769

Peter van Westen's Avatar Peter van Westen Admin

ReReplacer will replace in the output html before it gets passed to the browser (so server side).
So replacements set to Mobile will only work on mobile and do not affect desktop browsers when you make the screen narrower.

You will see the replacement working on your desktop if you set it to mobile view (via the developer tools) and refresh the page.