Jump to content

Changing Site Title for both Mobile and Desktop in 7.1

Go to solution Solved by tantrum,

Recommended Posts

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?


Link to comment
  • Replies 1
  • Views 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.