Good afternoon,
First of all I use the latest WooCommerce and X theme Pro. The only other plugin we use is the Cue Player. More on that in a second. I will add the login details and the product url in a secure note…
So I have added the Cue Player (https://audiotheme.com/view/cue/) which for pages created in cornerstone works completely fine.
However if I add the player into a WooCommerce product description - when the page first displays it thinks it is much smaller and displays itself like it is mobile. See from the code it produces:
<div class="cue-playlist cue-theme-default no-touch cue-tracks-count-8 has-artwork max-width-480 max-width-380 max-width-300 max-width-200" itemscope="" itemtype="http://schema.org/MusicPlaylist">
But as soon as you move the screens width it updates. Why is that?? I first spoke to the Cue people and they said:
It sounds like an issue with the loading order of some scripts or styles. Cue attempts to determine the size of its parent container after the page has loaded in order to display optimally. It sounds like the product description area may get resized by a script after the page has loaded, which is causing Cue to display in responsive mode.
Cue also resizes itself when the window resizes, which is why it works when you change the size of the browser. You would likely need to manually fire a resize event after the product description area has loaded to make Cue fill the container.
Is this true? Is the description tab loading incorrectly?
Thank you,
Jason