Turns out there are specific CSS properties for columns:
Here’s what worked for my case:
.featured {
-moz-column-count: 3;
-moz-column-width:245px;
-moz-column-gap: 40px;
-webkit-column-count: 3;
-webkit-column-gap : 40px;
-webkit-column-width:245px;
-moz-column-rule-color: #ccc;
-moz-column-rule-style: solid;
-moz-column-rule-width: 1px;
-webkit-column-rule-color: #ccc;
-webkit-column-rule-style: solid ;
-webkit-column-rule-width: 1px;
}
And two refs for several other ways to go about it.
Related Posts:
- How to get a count of all posts in foreach loop and split into fourths
- Split loop into columns
- Adding first and last classes to three column layout in Bones boilerplate
- Please help me to win the battle with 2 column loop by category
- How to get Author ID outside the loop
- remove tags from the_content
- the_title() shows title of the first post instead of the page title?
- Why do themes rely on “The Loop”?
- How do I prevent one of two multiple loops from repeating on a second page?
- What exactly defines a Main Loop and a Secondary Loop?
- Loop code is displaying pages but not actual posts
- How are both HTTP and HTTPS versions displaying?
- post loop causes wp_users and wp_usermeta DB queries for each users
- Ajax loop refresh on click
- How do you split multiple-column loop on category archive page?
- How to Loop within a Loop (Display Children and then Grandchildren)
- the_excerpt(), get_the_excerpt() and the_content() all killing “the Loop”
- Is get_posts() more efficient than The Loop?
- loop through all posts memory error
- How to loop through ALL pages?
- Does get_template_part pull data once in a loop?
- Get titles of all posts with current tags except current post
- Creating a multi-taxonomy query, excluding the newest (read: highest ID) taxonomy term
- Show a different post every 3 days [duplicate]
- Targeting a Certain Post in Loop (CSS)
- Get post/page data outside the loop
- Display most viewed post from last 30 days is not working correctly
- What is the maximum number of posts a WordPress loop can work with?
- wp_query inside the_loop
- Split loop to load WordPress gallery into Bootstrap modal and carousel
- Trouble Formatting DateTime
- Order archive results by post id in custom taxonomy template
- pre_get_posts for two loops on same page
- WordPress Rewriting the DOM?
- How to display posts by vote count and if no value continue with latest posts with no votes?
- Modified loop-single-forum.php to work inside of a sidebar Widget, not working on some site pages
- Basic multiple loops only displaying first loop
- Problem with displaying HTML content after in_array [closed]
- Both a page loop and posts loop on the same page
- Single.php different behaviour from admin to non-admin
- WordPress Blog has an infinite redirect loop
- Stepping through a foreach loop – adding +1 to the end of it so next time it loops it starts on item 2
- Can’t access PHP array inside script localization from javascript
- ACF – add a group inside a repeater [closed]
- How to create bootstrap grid loop?
- Is it possible to reverse the order of a list of posts pulled from a loop?
- Get post offset/posts page offset in single post page (outside the loop)
- First article : single column; Other articles : 2 columns
- How can I access specific posts brought back by query_posts?
- Put multiple custom loops on same page
- Contact information footer
- custom post on homepage
- Multisite foreach loop returning only one result
- Content Visibility for WordPress is not working (Drafts, public etc.)
- Loop is crazy – one row displays wrong count of posts [closed]
- Generating a perfect loop
- I need to display all post in onepage
- WordPress loop not working only on home page, works on all other pages
- Exclude category from get_the_category
- Why is my category post repeating twice
- Adding a featured image to a foreach WordPress loop
- Hook to main query with filters based on custom fields
- Using has_tag() outside loop
- How to create multiple loop in archive page?
- Offset for Loop
- How can I change how my tag pages display?
- Why does my WP_Query pagination on a custom page.php only loads the homepage?
- Loop keeps showing the same post even when I click on a different one
- Query users and count totals based on meta values
- php loop error for count posts in category
- display post pdf attachments in side bar with link text
- Display all the terms within a custom taxonomy
- Submit form for loop of products of the term with AJAX
- Use the loop to check if DB record exists?
- Split Content and Gallery
- Adding comma to while loop wpquery output
- Search – Check if post is a page on search page
- How can I make this iterative conditional within the Loop work via function?
- Repeat code, change variable?
- Foreach loop inside foreach loop?
- Ajax loop and history.js for SEO
- to get a little more content after ‘read more’ inside loop
- Show all child categories associated to post ID within loop
- Unable to login + Redirect loop on mobile
- Recent posts headlines. How to optimize the loop
- Running the Loop outside of WordPress
- how to use custom loop in the_content filter
- Variable not working in sidebar loop
- get all page templates
- Paged homepage – requirements?
- Least Number of Loops to Create Custom Homepage?
- strange parse error when including a loop template within another template
- Previous Posts Link and Next Posts Link Show All The Same Articles?
- Posts Loops To Display Specific Posts Inside Page Template?
- Use callback function in AJAX pure javascript [closed]
- Undefined variable: woocommerce_loop [closed]
- title not being printed within html tag [closed]
- Prevent duplicating specific column from database table
- wp_mail sending only once inside foreach loop
- How to use orderby on meta_value when using Pods custom database table storage