Skip to content

Instantly share code, notes, and snippets.

@cliffordp

cliffordp/style.css

Last active May 26, 2018
Embed
What would you like to do?
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;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.