Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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. :)