Skip to content

Centering short codes, specifically YouTube #31

Answered by willfaught
axjms1 asked this question in Q&A
Discussion options

You must be logged in to vote

I forgot to say that videos are automatically sized to be the width of the outermost Bootstrap container, so there's no way to make them smaller width-wise without turning that off. If you want to do so, you'll want to override https://github.com/willfaught/paige/blob/master/layouts/partials/paige/scripts.html in your site and comment out these lines. However, you'll then have to set the width manually for all videos.

Note that setting the width to 50% will also apply to mobile layouts, which might not be what you want.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@axjms1
Comment options

@axjms1
Comment options

@willfaught
Comment options

Answer selected by axjms1
@axjms1
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants