Jetpack Tiled Galleries

Professional social WordPress theme with metro design, fully-adjustable grid widget and BuddyPress support.
GK User
Mon Mar 23, 2015 1:25 pm
Hi,

I like to use Jetpack Tiled Galleries in the counted of an article. The gallery is shown, but the width is only 500 px and not full content width. Jetpack tells

If your theme doesn’t define a content width, Tiled Galleries will default to 500px wide.


Jetpack suggests the following solution

Tiled Galleries are built to fill your theme’s content width. You can define a specific $content_width value by adding the following code to your theme’s functions.php file:

Code: Select all
1
2
if ( ! isset( $content_width ) )
    $content_width = 800;

If you do not feel comfortable editing theme files, you can also use this plugin: Custom Content Width.


So, I don't feel comfortable editing the function.php file. So should I use the Custom Content Width Plugin or is there any smarter way to solve the problem?

Thanks a lot!
Sylvia
User avatar
Fresh Boarder

GK User
Mon Mar 23, 2015 3:12 pm
PS: The value in the Advanced theme settings for "Value of variable $content_width" is set to 1024... but Jetpack is still displayed with 500px width.
User avatar
Fresh Boarder

GK User
Tue Mar 24, 2015 9:18 am
Hi,

You can use "Custom Content Width" plugin or send me a PM with backend access to your website, then I'll be able to check the issue exactly.
User avatar
Moderator

GK User
Tue Mar 24, 2015 10:12 am
Hi,
I used the widget and so far it works fine.
Thanks!
User avatar
Fresh Boarder


cron