September 12, 201213 yr Hey, I'm working on a site that pulls in Twitter and Facebook feeds. There is an embedded style sheet coming in with the Twitter feed - how do I override this? Adding syles to the style sheet hasn't worked for me. Any suggestions appreciated, Cheers
September 13, 201213 yr are you using more specific selectors, is your included *below* the twitter included css? You can also try !important on your rules to override.
September 13, 201213 yr Where's the embedded stylesheet being placed, you need to get your styles below that and more specific. If it's in an iframe... Give up.
September 13, 201213 yr Often we think of inline styles as a way to override styles we set up in the CSS. 99% of the time, this is the case, and it's very handy. But there are some circumstances where you need to do it the other way around. As in, there are inline styles on some markup that you absolutely can't remove, but you need to override what those styles are. This could be markup that is being inserted onto the page from foreign Javascript or perhaps generated from the bowels of a CMS that you cannot control easily.
September 13, 201213 yr Author Hey, Thanks for the replies, think the styles are coming in with the Twitter API? I don't even know if that makes sense! It's an app with a Twitter feed wideget basically....I can't link to the site unfortunately due to restrcitions from the client. I will try !important in the rules and see if this works. Cheers!
Create an account or sign in to comment