Hi, I am changing site-title element in the header using javascript and works fine for Desktop, but when the width goes to a smaller width and mobile kicks in, this is ignored. I looked at source and see there is site-title id in two spots. But document.getElementById assumes all element ids are unique.
Any idea how I can set site-title for both Desktop and Mobile using Javascript?
thanks,