• Resolved Shaan Roy

    (@shaanroy)


    Do any of you have an idea how to accomplish this? The concept involves displaying the first blog post’s image on the left and its title on the right. Then, for the second post, the layout would be reversed. This pattern would continue in an infinite loop. Could you please recommend theme/template names or any custom methods? Thank you

    See the demo bellow
    https://prnt.sc/7g3HBKDzJNDy

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Tellyworth

    (@tellyworth)

    You can use nth-child(odd) and nth-child(even) CSS selectors to do something like this.

    Thread Starter Shaan Roy

    (@shaanroy)

    Thanks, But I’ve already accomplished this using the following code:

    .elementor-post:nth-of-type(2n) {
    display: flex;
    flex-direction: row-reverse!important;
    }

    • This reply was modified 1 year, 6 months ago by Shaan Roy. Reason: double text
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Anyone have idea abut this?’ is closed to new replies.