devinsays / portfolio-press

A WordPress theme for artists and designers to showcase their work.
https://wptheming.com/portfolio-theme/
GNU General Public License v2.0
62 stars 30 forks source link

Tiled Galleries in Jetpack #32

Closed devinsays closed 11 years ago

devinsays commented 11 years ago

Hi Devin,

the latest Jetpack has a VERY nice new "tiled gallery" feature that shows WP galleries in a "masonry" style: http://jetpack.me/support/tiled-galleries/

Unfortunately, there's a problem with them on fullwidth pages in Portfolio Plus.

It should look like this: http://www.tophersimon.com/families/family-galleries/

It does look like this: http://www.alex-kunz.com/test-gallery/

For some reason, it doesn't "see" that the fullwidth page template is actually fullwidth.

After a little research I found this topic in the WP forums: http://wordpress.org/support/topic/jetpack-tiled-galleries

From that information, it appears that the Jetpack tiled gallery uses "content width" of the theme, and after checking in functions.php of Portfolio Plus I see that this is only using the full width when using a 1-column layout.

I'm not sure how to fix that myself and hope you can help, I really like the appearance of the tiled gallery.

Thank you Alexander.

devinsays commented 11 years ago

Fixed with the $content_width issue.