Hi Alex! I wonder if the content_width is actually being set correctly (without having looked at the theme’s code)? Maybe you can try echo-ing the value somewhere on the page, to see if it’s actually being set to 1400? If it isn’t, maybe something else is over-riding it?
Also, note that your link to the suggestion in another thread is broken, so I can’t check what you’re referring to there.
Thread Starter
Alex
(@molecularcode)
Hi Richard
Thanks for the quick response. Good suggestion! You are correct, the $content_width is always 775, regardless of the page template being used.
Even when disabling all plugins I still get the same result. For now I have set the $content_width to be 1400 in the functions.php file, which fixes my immediate issue. I’m guessing this is a theme bug?
thanks for much for your help
Alex
Btw, the link was to a thread where you’d previously posted a snippet of code for the functions.php file.
if ( ! isset( $content_width ) )
$content_width = 930;
Hmm – I haven’t been able to replicate this so far on my test site running Pique 1.2.3 – the gallery on a page using the full-width template stretches to fill the whole width of the page, as expected, both on the homepage panel and the single page.
If you activate the parent theme instead of your child, do you see the same result?
Thread Starter
Alex
(@molecularcode)
Hi Kathryn
Thanks for the suggestion, but I get the same result with the parent theme activated.
Very strange. You can see in this screenshot that I have a 9-column gallery stretching the full width of the page:

This is also with all plugins deactivated. If I can think of anything else I’ll let you know.
If you’re able to undo your workaround temporarily so I can see the problem live on your site, I might be able to spot a clue.
I was able to replicate the issue only with these settings:
– Jetpack’s Tiled Galleries module active
– square tiled gallery
Could you try a regular thumbnail gallery instead of a tiled gallery, and undo your workaround, and let me know how it goes?
Thread Starter
Alex
(@molecularcode)
Yes, the problem has always been with the Jetpack galleries e.g. tiled mosaic. The 2 default WP galleries display fine.
I’ve undone the fix and you can see both a thumbnail gallery, which does extend full-width, and beneath it a tiled gallery that only goes to 775px wide.
This isn’t Jetpack gallery’s issue, it’s the Pique theme issue. It’ll be fixed in the next update.
Thread Starter
Alex
(@molecularcode)
Thanks for the help everyone, much appreciated!