Shopify themes, liquid, logos, and UX
Hey,
I am having an issue where the review widget I have embedded to my store will not show on mobile. One of them is a slider when hovered over and the other is a badge at the bottom of the page. They both link back to the review website.
The code is
<script type="text/javascript">
//<![CDATA[
var _hwq = _hwq || [];
_hwq.push(['setKey', '8B437AD2DC01DDB8B2B9831806126CF9']);_hwq.push(['setTopPos', '60']);_hwq.push(['showWidget', '22']);(function() {
var ho = document.createElement('script'); ho.type = 'text/javascript'; ho.async = true;
ho.src='https://cz.im9.cz/direct/i/gjs.php?n=wdgt&sak=8B437AD2DC01DDB8B2B9831806126CF9';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ho, s);
})();
//]]>
</script>
<div style="text-align: center;">
<div id="showHeurekaBadgeHere-11"></div><script type="text/javascript">
//<![CDATA[
var _hwq = _hwq || [];
_hwq.push(['setKey', '8B437AD2DC01DDB8B2B9831806126CF9']);_hwq.push(['showWidget', '11', '93477', 'Mind Fuel', 'mindfuel-cz']);(function() {
var ho = document.createElement('script'); ho.type = 'text/javascript'; ho.async = true;
ho.src='https://cz.im9.cz/direct/i/gjs.php?n=wdgt&sak=8B437AD2DC01DDB8B2B9831806126CF9';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ho, s);
})();
//]]>
</script>
</div>
is it possible the widget is not mobile friendly? OR is there some code I am missing?
Thanks,
As I read your points and analyzed the code you provided, I found the problem in the gjs.php file. This is why it doesn't work on mobile.
What is the solution for this? I have the same problem. Do I just delete the part you mentioned?
This is my code:
<center>
<div id="showHeurekaBadgeHere-11"></div><script type="text/javascript">
//<![CDATA[
var _hwq = _hwq || [];
_hwq.push(['setKey', 'D0B9DB2C7C1B4FBE93BBEB0BB36CC784']);_hwq.push(['showWidget', '11', '32882', 'CardyX', 'cardyx-sk']);(function() {
var ho = document.createElement('script'); ho.type = 'text/javascript'; ho.async = true;
ho.src='https://sk.im9.cz/direct/i/gjs.php?n=wdgt&sak=D0B9DB2C7C1B4FBE93BBEB0BB36CC784';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ho, s);
})();
//]]>
</script>
</center>
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025