• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

How to build a strict 'masonry'-like portfolio page

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › How to build a strict 'masonry'-like portfolio page

This topic is: not resolved

Tagged: masonry

  • This topic has 4 replies, 2 voices, and was last updated 10 years, 9 months ago by Toon61.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • May 4, 2015 at 1:56 pm #150112
    Toon61
    Member

    Hi all,

    I'm in the middle of developing a site for a friend photographer.
    She wants a 'masonry' style homepage and portfolio pages.
    But this masonry must conform to certain rules:
    Images are always square (1:1) or double square (2:1 or 1:2).
    At the moment I've build the homepage following these rules and she is very happy with it:
    http://mgf.woohoodesign.nl
    The homepage is a combination of 5 posts and 6 menu-items (Styling, Kinderen etc.) linking to the 6 different parts of her portfolio.
    I use the Genesis Extender plugin (from Cobalt Apps) to build the homepage. It consists of 11 widgets in which I use the 'Genesis Sandbox - Featured Content' plugin to get all the content displayed. The beauty of this plugin is that you can offset which post or page (with thumbnail) to display in a certain widget.
    A similar layout will be used for the 6 portfolio pages, where about 10 - 12 photo's will be displayed. I can use the same technique as I've done for the homepage, but that means that there will be another 60 or more widgets to be controlled from the WordPress Widgets page. But I don't think that's a very clever way to do this.
    What I really would like to do, is create some logic so every Portfolio page with 10-12 photo's is rendered dynamically within the strict (squares and double squares) masonry-like layout.
    At this moment I don't know how to do this, or where to look for an easy or understandable solution.
    I can't and will not ask for a complete solution, but I would like to be pointed in the right direction.
    Maybe it can be done with the use of the Genesis Extender plugin, or maybe with Visual Composer (Although I have not had any good results using Visual Composer. It might be possible to build a page that looks like the layout I made for the homepage, but I haven't found out (yet) how to 'connect' all these individual parts together. As far as I know, they can only be treated as individual elements and that is not what I want).

    Any help is very much appreciated.

    http://mgf.woohoodesign.nl
    May 4, 2015 at 4:04 pm #150126
    Badlywired
    Member

    OK wordpress has jquery-masonary built in
    see https://codex.wordpress.org/Function_Reference/wp_enqueue_script

    enqueue it

    then write a custom loop to ensure you build the right sized bricks in the right sequence (if you care i.e small x 4, big, horiz, horiz )

    and add a bit of jquery to fires it all up

    This tutorial should get you closer http://code.tutsplus.com/tutorials/using-jquery-masonry-for-pinterest-like-posting--wp-29556

    In this site http//:fullworlks.net I'm using the same principals (but using 'isotope' library) and using 'post format' amd 'menu order' on the post to determine order / size


    My techy blog WordPress and stuff badlywired.com

    May 5, 2015 at 12:34 am #150162
    Toon61
    Member

    Thank you Badlywired,

    I'll definitely look into that, sounds promising.
    What's the difference between the masonry and isotope library?

    May 5, 2015 at 4:49 am #150185
    Badlywired
    Member

    Not a lot. In fact I think (but not sure) that isotope uses jquery masonry for its masonry effects.


    My techy blog WordPress and stuff badlywired.com

    May 7, 2015 at 12:59 am #150534
    Toon61
    Member

    I've looked at both masonry and isotope effects, but I don't like that reshuffling of elements when you change the width of the browser window. I want it to scale fluidly, just as I did on the homepage (http://mgf.woohoodesign.nl).
    So I think I'll stick with the solution I already created, and try to figure out how to make this more 'intelligent'.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble