newcoder1010 Posted June 3, 2017 Share Posted June 3, 2017 Hello, I have this html from a pop up window: https://drive.google.com/open?id=1Uk1U1_CaGw-DuoHeLBT8rziXrWgEFEaQseUfc2f4rDg I am trying to color the fonts. I tried the below css. None of them worked. Please advise. #colorbox { color: wheat; } #cboxWrapper .popup p{ color: wheat; } #cboxWrapper body { color: wheat; padding: 20px; } Thanks. Link to comment Share on other sites More sharing options...
DarkxPunk Posted June 3, 2017 Share Posted June 3, 2017 I need more to work with than a simple picture. .popup should work, but I am not sure how an iFrame affects the flow. Can you post the full HTML and CSS? Thanks. Link to comment Share on other sites More sharing options...
newcoder1010 Posted June 3, 2017 Author Share Posted June 3, 2017 Previously I only had html then applied css in a css file. Did not work. <h1>This is a Blue Heading</h1> Now, I had to put the style within the template file. It worked. <h1 style="color:blue;">This is a Blue Heading</h1> Thanks. Link to comment Share on other sites More sharing options...
Ingolme Posted June 3, 2017 Share Posted June 3, 2017 Stylesheets don't affect what's inside an iframe. You have to put those styles inside the document that's in the iframe. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now