Jump to content

Css to customize material in an iframe?

Recommended Posts

Posted (edited)

I have a site i am working on. Its pulling a plug-in, into an iframe. I am unable to style the look inside the iframe with CSS. However, when I do an "inspect" in chrome, I see the CSS and customize it there. When I put the new code into my CSS panel it doesn't work. Do I have to do something special because its in an iframe. Here is the CSS:

https://smilodon-capybera-7eyw.squarespace.com/
password to the site is: tyz1!

.b-root .bubble-element.baTaLaBaO {
    border-style: solid;
    border-width: 1px;

 border-radius: 5px;
    -moz-border-radius: 5px;
    
    font-size: 16px;
    font-weight: 400;
    color: var(--color_text_default);
    padding: 24px 60px 24px 30px;
    opacity: 1;
    align-self: center;
    justify-self: start;
    min-width: 0;
    min-height: 0;
    width: calc(100% - 0px);
    height: calc(100% - 0px);
    margin-left: 0;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
    z-index: 0;
}

Edited by elschwartzo
added url
  • Replies 1
  • Views 1.8k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.