Continuing the discussion from Fighting with JS code for a theme port:
Hi, First off, I am grateful to be in this community, and I can’t wait to join you.
I am currently developing a theme from scratch, which I will be porting to Classicpress. I have been converting the functions of my wp plugin into my theme, that way I would have less plugin, and a high chance of compatibility with Classicpress (Sorry if this is off).
Main Question: I ported an open source code into my theme, and it worked as expected. My main challenge is the app is not responsive, and there is no way I can target the class, as it is called directly from Js with:
var a = new AudioSynthView();
That would draw the app (Piano) in between some div class, I can style the div classes, but there is no way I can style the app to make it responsive.
This is a fiddle of the app: https://jsfiddle.net/Faruqa97/xt5n0c7e/
and this is the error I have on my staging site: http://prntscr.com/oe3nvj
I would be glad if anyone can point me in the right direction.