Adding Elements Inside Oxygen Repeater or Easy Posts

written by: Dimitri
Last Updated: November 6, 2021

We are working on a new website for a client (will release URL soon) where they wanted a page for customer testimonials. One of the requirements of the project was to add a new div element in between testimonials on the page. We were using the Repeater element in Oxygen, however, this tutorial can easily be applied with the Easy Posts element.

While potential customers are reading testimonials, it presents a unique opportunity for us to slip information between the testimonials as a way to capture their attention and bring the visitor to a page that is important (in this case the donation page & adopt an animal page). If you look at the image below you can see what we mean by this. This is unique because as customers fill out testimonials, the two blocks we added (Donate and Adopt) stay in the same place and the testimonials move around them.

The code for the repeater function is:

jQuery(document).ready(function(){

jQuery('#div_block-253-1605').insertBefore('.repeater-container:nth-child(3)');
});
JavaScript

And the code for the Easy Posts element is:

jQuery(document).ready(function(){

jQuery('#div_block-7-1610').insertBefore('.oxy-post:nth-child(3)');
});
JavaScript

5 comments on “Adding Elements Inside Oxygen Repeater or Easy Posts”

  1. Amazing! Thanks for making this tutorial.

    Do you have a tutorial on how to create the custom easy post; so I can create my own layouts? Or with repeaters?

    Thank you!

    1. If I understand correctly, you are asking if I can show you how to create a unique layout with the easy posts or repeater?

      I'm sure we can put together a tutorial when we have a bit of time.

Leave a Reply

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

our blog.

Related Blogs You May Enjoy

Sigma 1's Local Las Vegas Web Design Services Help Brands Stand Out

The power of a well-designed website cannot be underestimated. With our affordable web design services in Las Vegas, you can improve your company's online presence and attract…
Read More

UI/UX Tips To Improve Your Website Conversions

It is now almost 2022 and you've probably realized that the quality of your website has a significant impact on your business. Most businesses realize they need…
Read More

A Webmasters Guide to Integrating SEO With Web Design

Bringing SEO and SERP optimization into line with a quality interface is the Holy Grail of web design. This means that your website shouldn’t only look fantastic…
Read More