Duplicate IDs for 2 elements with non-unique ID - Venture Theme

I am getting the following warnings from my Chrome dev tools.

  • [DOM] Found 2 elements with non-unique id #SiteNavSearch: (More info: https://goo.gl/9p2vKq) <input type=​"search" name=​"q" id=​"SiteNavSearch" placeholder=​"Search" aria-label=​"Search" class=​"site-header__search-input">​

The error is pointing to the SEARCH bar but I have only one search bar in the header.

What can be done here?

Sarv



If helpful then please Like and Accept the Solution.

Best,
Sarv
0 Likes
Lyndseyw
New Member
2 0 0

I have this too. I believe it is something to do with the way the theme clones the element to appear in a different place on mobile screens, but I don't know enough to fix it. Can anyone from Shopify comment please?

0 Likes