Easy Posts Equal Height in Oxygen Builder (How-To)

A quick tutorial on how to set equal height for Easy Posts in Oxygen builder.

One of my favorite components of Oxygen is the Easy Posts. It gives a lot of freedom displaying posts, with custom query, and easy to edit templates (both PHP loop and CSS for styling). There are some pretty nice looking templates built-in presets. However there's a slight problem in the design aspect of it. The Easy Posts height is not equal, when displaying presets like the Grid - Image.

Easy Posts Height Issue:

So while working on Triplets Book website , we came across the issue of uneven height for the Easy Posts display.

Here is the before look.

you can see the [Read More] button is not even. Some places it's way below the line, other are higher..

Easy Posts Equal Height (Before)

 

Solution : Make The Easy Posts Even..Again!

In our case, we were using the preset with some modifications. But this should work for about any preset or custom template you use.

Simply head over to to the Easy Posts > select Templates > and then open the Template CSS

Scroll down to where you find [ %%EPID%% .oxy-post-title ]

And add line-height to the post title

%%EPID%% .oxy-post-title {

line-height: 100px;

}

 

Here's the After look; you can see the Read More button is evenly displayed under all posts.

Easy Posts Equal Height (After)

P.S you may need to change the line height from 100px to whatever is suitable for your design / ratio.

Save and you're done 🙂


For any further clarification and/or questions.. Leave a comment below.

0/5 (0 Reviews)

Leave a Reply

Your email address will not be published. Required fields are marked *