cliffordp
12/2/2014 - 5:01 PM

Always center SmugMug oEmbeds

Always center SmugMug oEmbeds

/**
 * SmugMug oEmbed centering
 * From https://tourkick.com/advice-tips-howto/smugmug-custom-domain-oembed-wordpress/
*/
img[src*="https://media.tourkick.com"], /* Single Image from custom domain URL */
img[src*="https://photos.smugmug.com"], /* Single Image from smugmug.com URL */
iframe[src*="https://api.smugmug.com"]{ /* Videos and Slideshows (multiple images) regardless of custom domain URL or smugmug.com URL */
  display: block;
  margin: 0 auto;
}