How To Create Magazine-Style Blog Pages With Consistent Image Crops

by | Aug 7, 2026 | Etcetera | 0 comments

Maximum weblog layouts fall aside on the photographs. One submit has a tall portrait, the following has a large panorama, and the 3rd makes use of one thing virtually sq.. The grid begins to seem asymmetric, and the structure feels extra like a undeniable listing of posts than the magazine-style feed you had in thoughts.

Mag layouts keep away from that drawback by way of striking each symbol within a hard and fast body. The footage may also be other, however the crop machine remains constant.

In Divi 5, you’ll construct the similar more or less machine visually. The Loop Builder repeats one submit card around the feed, Aspect Ratio and Framing stay each featured symbol within the similar crop, and Grid Offset Regulations flip decided on posts into full-width editorial options.

On this instructional, we’ll construct a magazine-style weblog structure with a focused weblog heading, one massive featured submit, a row of usual submit playing cards, and a repeating full-width function that returns each 5th submit.

Working out The Equipment In the back of The Structure

This structure is dependent upon 3 Divi 5 gear operating in combination: Loop Builder, Side Ratio and Framing, and Grid Offset Regulations.

Every one solves a distinct a part of the structure.

1. Loop Builder

The Loop Builder turns one design right into a complete dynamic feed. As a substitute of designing each weblog card by way of hand, you construct one card with a picture, date, identify, and excerpt. Then you definitely permit the loop and level it at your posts.

Divi repeats that card for each submit within the question and fills every card with dynamic content material.

That suggests you design one card, no longer seven or twenty. Each and every merchandise begins from the similar construction, so each symbol has a constant position to land.

On this structure, the looped card is utilized in two techniques. Maximum posts seem as usual three-column playing cards. Decided on posts use the similar card construction however stretch around the complete row, developing the massive function moments you spot within the ultimate design.

2. Side Ratio And Framing

A constant symbol slot best works if the picture within it behaves. This is the place Side Ratio and Framing are available in.

Side Ratio defines the form of the picture body. On this structure, we’ll use a 4:2 ratio so each featured symbol sits within the similar large editorial crop. A portrait, sq. symbol, and panorama symbol can all fill the similar symbol house with out converting the cardboard construction.

Framing controls how the picture sits within that body. If a photograph must be cropped to suit, Framing makes a decision which phase remains visual. You’ll be able to middle the crop, shift the focus, or use Object Are compatible and Object Place to stay a very powerful a part of the picture in view.

Side Ratio units the form. Framing controls the crop.

3. Grid Offset Regulations

A tidy grid turns out to be useful, however a mag structure additionally wishes motion. If each card has the similar measurement without end, the feed can begin to really feel flat.

Grid Offset Regulations upload the editorial rhythm. They let particular loop pieces span extra columns or rows with out rebuilding the cardboard or manually striking particular person posts.

For this structure, we’ll make the primary submit stretch throughout all 3 columns because the lead function. Then we’ll repeat that very same full-width remedy each 5th submit, so the structure strikes from a big function to straightforward playing cards, then again to some other massive function.

The loop handles the repetition. Side Ratio handles the crop. Grid Offset Regulations maintain the journal rhythm.

What We’re Construction

We’re construction a magazine-style weblog structure that helps to keep its form regardless of which featured photographs get added to the website online.

The overall structure begins with a focused Our Weblog heading. Below it, the primary submit spans the complete row as a big featured card. The following posts seem as 3 usual playing cards throughout. Then the 5th submit stretches full-width once more, developing some other featured row prior to the grid continues.

Magazine-style blog layout with a full-width featured post followed by three-column post cards

Each and every symbol makes use of the similar 4:2 form, together with the full-width featured posts. That helps to keep the plants constant around the feed, even if the supply photographs are other sizes.

As soon as the machine is constructed, new posts drop into the similar construction robotically.

How To Construct The Mag-Taste Weblog Structure

We’ll construct the structure in the similar order Divi 5 works easiest. First, we’ll create the Theme Builder template. Then we’ll save the variables the structure makes use of. After that, we’ll create the grid, flip one column right into a loop, construct the submit card, attach the dynamic content material, lock the picture crop, create the full-width featured rows, and make the structure responsive.

See also  👉 20 Products In The Divi Marketplace With Amazing Discounts Right Now

1. Assign A Theme Builder Template To The Weblog

The feed wishes a template, and the Theme Builder is the place we create it. A Theme Builder template allows you to design one structure and use it on a particular a part of the website online.

Open Divi > Theme Builder from the WordPress dashboard. You’ll see the Default Web page Template subsequent to any templates that exist already. Click on Upload New Template to create a brand new one.

Adding a new template in the Divi 5 Theme Builder

A settings panel opens and asks the place the template will have to practice. Below the Posts phase, make a selection Weblog. This issues the template on the major weblog feed.

If you wish to use this structure on a standalone web page as an alternative, make a selection Explicit Pages below the Pages phase and make a selection that web page. For different template stipulations, akin to archives or classes, see Divi’s Theme Builder template guide.

Assigning a Divi 5 Theme Builder template to the Blog

Click on Create Template to verify. The template displays 3 editable spaces: Header, Frame, and Footer.

The weblog feed belongs within the Frame house. Click on Upload Customized Frame, then make a selection Construct Customized Frame to open the builder on a clean canvas.

Adding a custom body to a Divi 5 Theme Builder template

That is the place the remainder of the structure comes in combination.

Opening the custom body layout in the Divi 5 Visual Builder

Something to bear in mind: the Theme Builder has its personal Save Adjustments button. Saving throughout the builder saves the frame structure, however the template best is going are living after you save adjustments within the Theme Builder.

2. Save The Variables The Structure Will Use

Sooner than construction the playing cards, arrange the shared values the structure will use.

Spacing, colours, and fonts will have to come from variables and presets the place imaginable. That method, one replace can float thru all the feed as an alternative of forcing you to edit each module later.

Open the Variable Supervisor from the Builder Bar. It’s sitewide, so the variables you create right here can be utilized around the complete site.

Opening the Variable Manager in Divi 5

Get started with spacing. Create a Quantity Variable for the gap throughout the card and set it to 5%. Give it a role-based identify akin to Crew Spacing so its objective is obvious while you use it later.

With the spacing variable stored, create the font and colour variables the structure wishes. Those can energy the cardboard backgrounds, textual content colours, and repeated typographic alternatives.

We received’t create a separate variable for each heading measurement. On this workflow, heading sizes come from heading presets, whilst variables maintain shared values like colour, spacing, and fonts.

Variables maintain the reusable values. Presets maintain the reusable genre selections. In combination, they maintain the weblog feed attached to the remainder of the website online’s design machine.

You’ll be able to be informed extra about putting in place that more or less machine in Part 3 and Part 4 of our Divi 5 mastery sequence.

3. Get ready The Weblog Web page Construction

With the shared design values in a position, we will be able to get ready the web page construction.

For this instructional, we’re ranging from a base structure that already contains surrounding web page sections, together with the focused weblog heading. That’s the Our Weblog identify you spot on the best of the general structure.

If you’re construction from a fully clean frame, upload a Heading module above the feed first, kind Our Weblog, middle it, and magnificence it together with your website online’s heading preset. Then proceed with the feed construction under.

The bottom structure lately makes use of the Weblog module for the posts. Since we’re changing that with a customized Loop Builder feed, delete the Weblog module.

Deleting the Blog module before building a custom loop

Now upload a brand new Segment to the canvas. Inside of it, upload a Row with a three-column construction.

The ones 3 columns set the desktop rhythm: one full-width function when a submit spans all 3 columns, adopted by way of usual playing cards that take a seat 3 throughout.

Adding a three-column row for the magazine-style blog grid

A row from the Grid structure choices behaves as a CSS Grid. Open the row settings, pass to Design > Structure, and ensure that Structure Taste is about to Grid.

Confirming the row layout style is set to Grid

Set each Horizontal Hole and Vertical Hole to 30px. Equivalent gaps stay the spacing constant between usual playing cards and full-width function rows.

Setting equal horizontal and vertical gaps for the blog grid

Then pass to Design > Sizing and set the row Width to 90%. This helps to keep the feed clear of the browser edges and provides the structure respiring room.

Setting the blog grid row width to 90 percent

The phase, grid row, and spacing at the moment are in a position. Subsequent, we’ll flip one column into the repeating submit card.

4. Flip One Column Into The Loop

The grid row has 3 columns, however we don’t want to construct 3 separate playing cards. We’ll design within one column, permit the loop on that column, and let Divi repeat it around the feed.

Hover over the primary Column and open its settings. Cross to Content material > Loop and turn Permit Loop on.

The column is now a loop container. No matter you set within it turns into the template for one repeated weblog merchandise as an alternative of 1 static card.

Now level the loop on the content material it will have to pull. Set Question Kind to Publish Kind, then set Publish Kind to Posts.

The remainder question settings regulate such things as what number of posts seem and the way they’re ordered. Go away the ones at their defaults for now, then alter the depend and sorting as soon as the cardboard construction is done.

See also  WP FixAll Vs. [Competing Plugin] Comparability ~ Florida WordPress Safety…

With the loop enabled, the builder previews the repeated column. The playing cards are nonetheless empty, however the feed construction is operating.

5. Construct The Publish Card

Now we’ll construct the cardboard that the loop repeats.

Get started with the wrapper. Upload a Crew module throughout the looped column. This outer Crew is the cardboard itself. It helps to keep the picture and textual content in combination as one repeatable unit.

Adding a Group module as the outer blog card wrapper

Inside of that outer Crew, upload an Symbol module first. This will likely change into the featured symbol on the best of each card.

Under the Symbol module, upload a 2nd Crew module for the textual content block. This inside Crew we could the picture run edge to edge whilst the textual content house will get its personal padding and background.

Throughout the inside Crew, upload 3 modules on this order:

  • A Heading module for the broadcast date.
  • A 2nd Heading module for the submit identify.
  • A Textual content module for the excerpt.

That provides the cardboard its complete construction: outer Crew, Symbol module, inside Crew, date, identify, and excerpt.

This identical card will energy each visible states within the ultimate structure: the compact three-column playing cards and the full-width featured playing cards. The variation comes later from the Grid Offset Regulations, no longer from construction a separate function card by way of hand.

6. Taste The Card

With the construction in position, we will be able to genre the cardboard the usage of the variables and presets set previous.

Open the outer Crew settings. Cross to Design > Structure and set the Vertical Hole to 0. This gets rid of the distance between the picture and the textual content block, so the cardboard reads as one attached unit.

Setting the outer Group vertical gap to zero

Now open the interior Crew that holds the date, identify, and excerpt. Give it a white background so the textual content house seems like a transparent card floor.

Then pass to Design > Spacing and set the padding the usage of the Crew Spacing variable created previous. Pulling that worth from a variable helps to keep the cardboard inset constant and simple to replace later.

Subsequent, genre the typography.

Open the primary Heading module and practice the H5 preset for the date. Open the second one Heading module and practice the H3 preset for the identify.

As a result of the ones kinds come from presets, the cardboard typography remains attached to the remainder of the website online.

Then open the Textual content module for the excerpt and practice the frame font. A long run trade to the frame font can then float thru each repeated card.

Set the Vertical Hole of the interior Crew to 10px so the date, identify, and excerpt stack with tight, constant spacing.

Setting the inner Group vertical gap for the date title and excerpt

The cardboard now has its construction, spacing, and kind machine. Subsequent, we’ll attach it to actual submit content material.

7. Loop The Content material Into The Card

The cardboard appears proper, however the modules nonetheless display placeholder content material. Now we’ll attach every module to a dynamic box so each repeated card pulls content material from its matching submit.

Get started with the Symbol module. Open its symbol environment, transfer to dynamic content material, and make a selection Loop Featured Symbol. Every repeated card now presentations its submit’s featured symbol.

Transfer to the primary Heading module, which serves because the date. Transfer its content material to dynamic and make a selection Loop Printed Date.

Open the second one Heading module and set its content material to the Loop Publish Name. Then open the Textual content module and fix it to the submit Excerpt.

Set the excerpt Phrase Rely to 50 and upload Learn Extra after the excerpt. Maintaining excerpt period below regulate is helping the usual playing cards keep extra even, particularly when submit summaries range in period.

Now make the cardboard clickable. Open the Symbol module, in finding the hyperlink environment, transfer it to dynamic content material, and make a selection the submit’s Publish Hyperlink. Do the similar for the identify Heading module and the excerpt Textual content module.

At this level, each card is dynamic. The picture, date, identify, excerpt, and hyperlinks all come from the submit represented by way of that loop merchandise.

8. Lock The Symbol Crop With Side Ratio

As soon as actual posts seem, the picture drawback turns into visual. Featured photographs come from other resources and are incessantly other shapes: large, tall, sq., or someplace in between.

And not using a constant crop, symbol heights bounce from card to card, the titles prevent lining up, and the grid loses its editorial construction.

Blog grid with inconsistent featured image sizes before applying Aspect Ratio

Open the Symbol module and pass to Design > Sizing. In finding the Side Ratio regulate and set it to 4:2.

Each and every symbol within the loop snaps to that very same form. A portrait and a panorama symbol now take a seat within the similar large body, which brings the cardboard heights again into alignment.

This issues for the full-width featured posts too. When the primary card spans the complete row later, it’ll develop wider, however the symbol nonetheless follows the similar 4:2 crop. That’s what helps to keep the massive banner from feeling like a distinct design.

A set ratio creates a crop, so your next step is deciding how every symbol will have to fill the body.

See also  Get a Free Psychology Layout Pack For Divi

Cross to Design > Framing. Set Object Are compatible to Duvet so the photograph fills the complete body with out leaving gaps. Then set Object Place to Middle so every crop makes use of the center of the picture as its default point of interest.

If a particular submit symbol has an off-center topic, you’ll alter Object Place for that symbol remedy. However Middle is a sturdy default for a blended weblog feed as it helps to keep the crop predictable with out adjusting each submit manually.

Subsequent, permit Develop To Fill at the mother or father Crew module below Design > Sizing. This is helping the repeated playing cards fill their column house frivolously.

With the ratio locked and the framing set, the feed reads as one machine once more. Each and every card stocks the similar symbol form, titles line up around the row, and new posts drop into the similar crop with out additional symbol enhancing.

9. Create The Complete-Width Featured Rows With Grid Offset Regulations

The grid is constant now, however consistency by myself can really feel flat. {A magazine} structure wishes moments of emphasis.

That is the place the one-row featured posts are created. We don’t seem to be construction a separate featured submit module. We’re taking the similar looped card and telling positive pieces to span around the complete grid row.

Make a choice the Row, for the reason that grid is managed on the row stage. Open Design > Structure. Within the grid settings, click on Upload Grid Offset Rule.

For the primary rule, goal the lead submit:

  • Goal Offset: First merchandise
  • Offset Rule: Column Span
  • Offset Price: 3

Spanning all 3 columns turns the primary submit into the massive full-width card on the best of the structure.

Now upload a 2nd rule for the repeating rhythm:

  • Goal Offset: Each and every 5th merchandise
  • Offset Rule: Column Span
  • Offset Price: 3

A full-width function now returns after the primary team of usual playing cards. The overall structure follows the trend you spot within the preview: one massive lead submit, 3 usual playing cards, some other massive featured row, then extra usual playing cards under.

The similar loop nonetheless drives each merchandise. The offset laws merely inform decided on playing cards to stretch around the grid. That provides the weblog feed its magazine-style rhythm with out manually striking posts or making a separate structure for featured pieces.

10. Make The Structure Responsive

The desktop structure is now in position, however the feed must also cling up on pill and speak to.

One of the vital paintings is already treated since the structure makes use of presets and variables. In case your heading presets and frame typography use responsive values or fluid sizing, the kind can scale extra easily because the display screen narrows.

The grid nonetheless wishes breakpoint changes.

Make a choice the Row, transfer to pill view, and open Design > Structure. Exchange the Quantity Of Columns to 2. Then transfer to telephone view and set it to 1.

The feed now strikes from 3 columns on desktop to 2 columns on pill and one column on telephone.

Now replace the full-width featured rows for every breakpoint.

On desktop, the featured pieces span 3 columns. On pill, the grid best has 2 columns, so the featured pieces want to span 2 columns. Upload a responsive offset rule on the pill breakpoint that makes use of a Column Span of 2 for a similar featured pieces.

On telephone, the grid has one column, so upload some other responsive rule that spans the featured pieces throughout 1 column. At that measurement, each submit is full-width by way of default, however the rule helps to keep the offset conduct aligned with the single-column grid as an alternative of letting the desktop span elevate over.

With the columns reflowing and the offset laws adjusted at every breakpoint, the magazine-style feed holds from desktop all the way down to telephone.

Sooner than leaving, save the structure and go back to the Theme Builder. Then click on Save Adjustments to make the template are living.

Saving changes in the Divi 5 Theme Builder

Flip One Card Into A Feed With Divi 5

A robust weblog structure does no longer come from cropping each featured symbol by way of hand or manually striking each submit. It comes from construction the precise machine as soon as.

On this structure, one looped card controls the construction. Side Ratio provides each symbol the similar body. Framing makes a decision how the picture fills that body. Grid Offset Regulations flip decided on playing cards into full-width featured rows. Responsive settings stay the entire feed operating throughout desktop, pill, and speak to.

The following time you put up a submit, it drops into the similar machine robotically: the precise card, the precise crop, the precise trend, and the precise structure on each display screen.

The submit How To Create Magazine-Style Blog Pages With Consistent Image Crops gave the impression first on Elegant Themes Blog.

WordPress Maintenance Plans | WordPress Hosting

read more

0 Comments

Submit a Comment

DON'T LET YOUR WEBSITE GET DESTROYED BY HACKERS!

Get your FREE copy of our Cyber Security for WordPress® whitepaper.

You'll also get exclusive access to discounts that are only found at the bottom of our WP CyberSec whitepaper.

You have Successfully Subscribed!