Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Susan Siow
Susan Siow
6,497 Points

Masonry Layout Solution

I've installed Wordpress Canvas Gallery to create a Gallery with Masonry layout. The homepage displays it correctly, where the images are stacked together but the page is not working > http://demo4.susansiow.com/artwork-design/. How can I troubleshoot this problem? Is it a CSS matter?

The plugin author isn't active in replying at the support forum.

2 Answers

Lauren Clark
Lauren Clark
33,155 Points

I've tried some things in the CSS, but nothing is working. I wonder if it's because the portfolio page is a page and the homepage is pulling in post types. I also noticed some inline styling in the HTML for the masonry images on the homepage - not sure what that is doing there, should all be in a file.

I've not used that plugin, have you checked if there are any options for it being on page as opposed to a post type?

Also if there is any manual html/css on the actual post you've put in, disable your wpautop.

Susan Siow
Susan Siow
6,497 Points

Hi Lauren, first of all, thank you so much for sharing your thoughts. It turns out the layout is affected by Page Builder plugin. I've just posted a help request on the forum and hope it will be answered asap. Will keep you updated, thanks. :)