Can I make twitter image smaller with CSS? It is iframe as I understand

cards

#1

Greetings!

Can I Resize image from Twitter feed with CSS?

I found class that manages this size:

.MediaCard-media {
    width: 50% !important;
}

but cannot apply my style (css overrides only in Dev Tools, no result when I refresh page).

I cannot override this style with jQuery too, because I can’t get these objects on page:

jQuery(".MediaCard-media"); // 0 results

I use Js snippet to load twitter feed, for better compatibility with IE, here is code, if needed:


#2

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.