Photo gallery

Hello

Please can you write additional CSS for photo gallery, namely the width of the photo gallery when posts size is full width.
I wish my photo gallery is as wide as posts and text. Only when I put the photo gallery to slide show then the photo gallery is in the width of the page, any other gallery does not work.

This is the link to the site and posts
https://www.balkantravelguide.com/drina-regatta/

Thanks in advance

Hey there,
I hope you’re doing well today

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

Best Regards,
Support

  • Set the content width based on the theme’s design and stylesheet.
    /
    if ( ! isset( $content_width ) ) {
    $content_width = 648; /
    pixels */
    }

/**

  • Set the content width for full width pages with no sidebar.
    /
    function sparkling_content_width() {
    if ( is_page_template( ‘page-fullwidth.php’ ) ) {
    global $content_width;
    $content_width = 1008; /
    pixels */
    }
    This is the code, but it has been provided when it is full width without sidebar but does not apply it.
    if i change 648 px to 1008px will it also affect sidebar pages, will there be problems for those pages?

Hey there,
Thank you for keeping in touch

It will affect pages set to full width, you can also adjust the width to your liking.

Best Regards,
Support

I updated $content_width to 1050 px, now the photo gallery is in width of posts and looks great.

Thank you very much
all the best

Hello there,

I am glad the solution worked for you.
Please feel free to contact us again in the future regarding any other issues.

Best Regards,
Support