javascript - Targeting a specific iframe -
javascript - Targeting a specific iframe -
i using organic theme "music" theme , have added code wordpress site help create sure soundcloud , mixcloud oembeds not stretch width of page.
iframe, embed { height: 100%; width: 100%; } the theme uses fitvids, tried alter code based on forum back upwards , didn't work, however, adding iframe code did work solve soundcloud , mixcloud oembed size issue, messed else.
jetpack wordpress has twitter widget impacted code. not display total height of widget @ 100% reason. display 1 tweet , not expand out total height. if alter height of iframe code "600px", display properly, however, oembeds @ 600px.
the iframe code follows:
<iframe id="twitter-widget-0" scrolling="no" frameborder="0" allowtransparency="true" class="twitter-timeline twitter-timeline-rendered" allowfullscreen="" style="border: none; max-width: 100%; min-width: 180px; width: 370px;" title="twitter timeline" height="1755"></iframe> can target specific twitter widget instance / iframe this:
iframe.twitter-widget-0, embed { height: 600px; width: 100%; } or, not work?
i'm not developer, project manager , need help.
twitter-widget-0 id not class please seek
iframe#twitter-widget-0{ /*your code here*/ } javascript css wordpress iframe
Comments
Post a Comment