Title: css
Last modified: August 30, 2016

---

# css

 *  Resolved [fullmoonfriday](https://wordpress.org/support/users/fullmoonfriday/)
 * (@fullmoonfriday)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/css-103/)
 * hello,
 * I am tying to do some styling. I have checked previous support which gave me 
   a clue, but I still can quite get it.
 * using the inspector I can find
 * #iframely-content {
    width: 100%; -webkit-justify-content: center; -ms-flex-pack:
   center; justify-content: center; -webkit-align-items: center; -ms-flex-align:
   center; align-items: center; display: -webkit-flex; display: -ms-flexbox; display:
   flex; }
 * which I add
 * text align; center;
 * which centres pinterest embeds when using chrome inspector.
 * I am happy to centre all embeds, but I haven’t been able to get this right either
   using iframe css in custom css either.
 * using the css above in custom css, it doesn’t pick up the stylings even with !
   important. I am at a bit of a dead end on this. Can you help me on this one?
 * Thanks
 * [https://wordpress.org/plugins/iframely/](https://wordpress.org/plugins/iframely/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Ivan Paramonau](https://wordpress.org/support/users/ivanp/)
 * (@ivanp)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/css-103/#post-6563956)
 * You can’t change the styles within iFrame. And that’s what we return for Pinterest
   by default as it needs a fallback for JavaScript environments.
 * We haven’t find a way to make Pinterest center ourselves yet either. If you want
   to take your chance, you should first make Iframely return native embed code 
   there. To do it, go to your API settings at iframely.com/settings and uncheck“
   My site uses JavaScript to add embeds”.
 * Then you can start applying some styles. If you need an explicit style name for
   Pinterest, you can try adding a filter like the one in [this gist](https://gist.github.com/iparamonau/64bf07527d66ec0b9cff).
 *  Thread Starter [fullmoonfriday](https://wordpress.org/support/users/fullmoonfriday/)
 * (@fullmoonfriday)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/css-103/#post-6563992)
 * Hi there, thanks for the response, although this is a little confusing for me
   as it goes beond my basic knowledge a long way.
 * The #iframely-content css comes from where? as far as i can see, if text-align:
   center; is applied to this css along side the others, then the pinterest would
   centre?
 * Thanks
 *  Plugin Author [Ivan Paramonau](https://wordpress.org/support/users/ivanp/)
 * (@ivanp)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/css-103/#post-6564235)
 * PIntrest embeds should now be centered without the need for any CSS tricks

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘css’ is closed to new replies.

 * ![](https://ps.w.org/iframely/assets/icon.svg?rev=2686906)
 * [Iframely – WP media embeds, cards and blocks](https://wordpress.org/plugins/iframely/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/iframely/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/iframely/)
 * [Active Topics](https://wordpress.org/support/plugin/iframely/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/iframely/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/iframely/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Ivan Paramonau](https://wordpress.org/support/users/ivanp/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/css-103/#post-6564235)
 * Status: resolved