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>
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024