12% off of LTD using this coupon: TWELVEPERCENTOFF. Promo ends on 2 Dec midnight UTC.
Published on Mar 1, 2019

Easy Posts Overlay on Hover

Sridhar Katakam

In Oxygen's Facebook group a user asks:

How to make Easy Post overlay/hover?
Like the one on the video.
NORMAL: overlay post title + read more button on top of the featured image
HOVER: overlay black bg + post title + excerpt + read more button.
Any tutorials? Or pointers? Please help.

This members-only tutorial provides the steps to customize PHP and CSS of Easy Posts element in Oxygen so that title and read more text appears at the bottom left of the featured image in regular state and on hover, title + excerpt + more text.

The entire image will be set to link to post's permalink.

Regular state
Hover state

Step 1

Let's add a small piece of code so we can control the number of words that appears in the excerpt on a case-by-case basis.

Install and activate Code Snippets plugin.

Go to Snippets > Add New.

Title: Custom Excerpt

Code:

This is a premium members-only content.

To view the rest of the content, please sign up for membership ($47/month or $599 one-time).

Already a member? Log in below or here.

tagschevron-leftchevron-rightchainangle-rightangle-upangle-downfolder-omagnifiercrossmenuchevron-downarrow-right