Home › Forums › Support › Change video embed size › Reply To: Change video embed size
September 7, 2016 at 10:55 pm
#224839
Lead Developer
Lead Developer
$content_width is most likely what you’re looking for, you might just have to hook it in a little later:
add_action( 'wp', 'tu_custom_content_width', 20 );
function tu_custom_content_width()
{
global $content_width;
$content_width = 500;
}
Adjust the width as needed 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development