buy-button-js icon indicating copy to clipboard operation
buy-button-js copied to clipboard

How to apply CSS class on an iframe?

Open robskrob opened this issue 6 years ago • 1 comments

I have two questions.

  1. I was looking through the docs and also searching through the github issues for some directions / guidance on adding styles to the iframe. I am familiar with pattern:
options: {
      product: {
        templates: {
          ....
        },
       classes:{
        ....
       },
       styles: {
       ....
       },
     }
}

This is how I have been applying styles within my iframe. But how do I apply styles on the actual iframe?

  1. Also I am noticing that there's a style attribute on the iframe style="width: 100%; overflow: hidden; border: none; height: 730px;" -- is there a way that I can control those styles?

robskrob avatar Jan 23 '19 15:01 robskrob

I am trying to do the same thing in 2023. Seems like the only way is manually.

ianjosephwilson avatar Jan 16 '23 23:01 ianjosephwilson