name change on mobile

1 year 3 months ago #76766

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

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.

1 year 3 months 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.