How to make tiled Gallery (Jet Pack) full width for Activello Theme

Hi

Thanks for helping me so much.

I have 1 question about using the tiled gallery (Jet Pack) in Activello

  1. How to make the width of the tiled gallery to fit the content width of Activello?

In the demo site: https://colorlib.com/activello/template-featured-image-vertical/
The width of the first image is the same as the width of the tiled gallery.

However, for my page (viewed on Mac Book), the width of the tiled gallery is smaller (attached image) than the image posted normally (without using tiled gallery).
But when my page (viewed on Iphone), the width of the tiled gallery is same as the width of the image posted normally (without using tiled gallery).

Hope I am clear! Thanks!

Hi @wanderer74,

I hope you are well today and thank you for your question.

You can increase jetpack tiled Gallery width by increasing its content width as described on the following page.

Best Regards,
Movin

Hi

Thanks! I tried but I could not get it to work.

I inserted this to the CSS code area:

if ( ! isset( $content_width ) ) {
$content_width = 960;
}

But the tiled gallery’s width is still smaller than the width of other pictures.

Sorry but can you give me more instructions? Thanks!

This is not CSS code so don’t add it in the CSS code area.

You can achieve this using this plugin Custom Content Width – WordPress plugin | WordPress.org

Hi

Thanks for your help again. I installed the plugin and went to Settings to change the Custom Content Width to the theme’s default content width: 697 pixels.

But the tiled gallery is still not the same width as other normally uploaded images.

http://whywendywrites.com/santorini-greece-2015/

This is the post page.

Do you mind taking a look and see what I can do to make the width of the tiled galleries the same as other images? Thanks so much!

You should change its width from 697 to 1050

Oh thanks so much!!! I spent hours trying to solve the problem and you provided the solution so quickly!

You are most welcome here :slight_smile: