• I’ve tried to change some CSS on this site – but it won’t apply. There is a contact form on the right side, and I want the bg color to be red. When I access it through Firebug and change the background-color line, it changes in the live window, but when I copied the code and added it to the site (in the Custom CSS panel), it doesn’t work. MailMunch says that custom CSS is a “premium” feature – is there some way they are preventing me from writing my own CSS for this?

    • This topic was modified 8 years, 11 months ago by bigdog61.
    • This topic was modified 8 years, 11 months ago by bigdog61.
Viewing 1 replies (of 1 total)
  • It looks like what’s happening here is that the contact form is implemented as an <iframe> that points to MailMunch. Browsers don’t allow CSS (or JavaScript) on your site to affect something on another site shown through an <iframe> because it would be a massive security hole. (To draw an imperfect analogy, an <iframe> is like having a window that looks into your home. Allowing CSS/JS through the <iframe> would be like allowing anyone to enter your home through the window and do whatever they want.)

Viewing 1 replies (of 1 total)

The topic ‘Can CSS be locked out?’ is closed to new replies.