- This topic has 2 replies, 2 voices, and was last updated 9 years, 2 months ago by .
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
I'm using Balance Child Theme and JetPack plugin. I tried to post pictures in titled gallery (by JetPack) but the gallery width is 500 px by default while as I need to 'strech' it to 620 px (because Balance Child Theme content width is 620 px).
Jetpack plugin's support suggests (here http://jetpack.me/support/tiled-galleries/) to define a specific $content_width value by adding the following code to the theme’s functions.php file:
if ( ! isset( $content_width ) ) $content_width = 620;
Is it a good solution and is it safe?.
If yes, where exactly should I place this code? - Would the very end of the functions.php file be O.K.?
Thank you in advance!
Thank you so much, braddalton! It worked perfectly! 🙂
© 2023 WPEngine, Inc.