Title: rohamg's Replies | WordPress.org

---

# rohamg

  [  ](https://wordpress.org/support/users/rohamg/)

 *   [Profile](https://wordpress.org/support/users/rohamg/)
 *   [Topics Started](https://wordpress.org/support/users/rohamg/topics/)
 *   [Replies Created](https://wordpress.org/support/users/rohamg/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/rohamg/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/rohamg/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/rohamg/engagements/)
 *   [Favorites](https://wordpress.org/support/users/rohamg/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Centering YouTube iframes using a stylesheet](https://wordpress.org/support/topic/centering-youtube-iframes-using-a-stylesheet/)
 *  [rohamg](https://wordpress.org/support/users/rohamg/)
 * (@rohamg)
 * [15 years ago](https://wordpress.org/support/topic/centering-youtube-iframes-using-a-stylesheet/#post-1628607)
 * Cool, thanks for reposting with the solution. A quick and dirty way to change
   alignment is to use padding:
 * `<div style="padding-left:30px"><youtube blabla></div>`
 * I made a new .youtube-centered class in CSS for the future though.

Viewing 1 replies (of 1 total)