How to Create Multiple Sized Sketchfab Viewers in Wordpress?


(Atomz) #1

Hello, I would like to learn how to create multiple different sized Sketchfab viewer windows within a single Wordpress web site. Currently, I configure the default window size in the Sketchfab menu on the dashboard but am hoping I can overwrite the default to allow for different sized windows on individual pages.

Is there a code snipet that can used set the default size per page rather than the entire site? If not can this be added to the plugin development road map as this would add a great amount of customization flexibility.

Thank you very much!
Michael


#2

Hi Michael,

Sorry for the long silence. I have a Gist here showing how to make an iframe responsive to the width of the window or page element:

https://gist.github.com/PadreZippo/ab27f3f7409510f90421