Tagged: content slider
-
AuthorPosts
-
October 30, 2025 at 5:06 pm #1490757
Hi guys,
My designer came up with this idea of sliding content to show several images with text. When clicked the image + text should slide to the next image with an different text. I tried the content slider with 2 seperate divs in the code but that didn’t quite work for me. Let alone that it is not responsive and not really user-friendly for my customer. Are there any of you who could help me out with some tips and tricks or an existing plug-in?
Don’t focus so much on the icon and dimensions. It’s about the technique and the placement of the elements.
Regards,
Steven
-
This topic was modified 1 month, 2 weeks ago by
steviger.
October 31, 2025 at 6:59 am #1490793Hey steviger,
Thank you for the inquiry.
You can continue using the Content Slider element. Add the following html in the editor:
<div class="av-flex-container"> <div class="av-image-column"> <img src="http://site.com/image.jpeg" alt="Sample Image" /></div> <div class="av-text-column"> <h2>Title Here</h2> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec vel urna at sapien tempor dictum. </div> </div>Then add this css code to create a container with two columns, an image on the left and a title with text on the right.
.av-flex-container { display: flex; width: 100%; height: 400px; flex-wrap: wrap; } .av-image-column { flex: 1; position: relative; overflow: hidden; } .av-image-column img { width: 100%; height: 100%; object-fit: cover; } .av-text-column { flex: 1; padding: 40px; display: flex; flex-direction: column; justify-content: center; background-color: #f5f5f5; } @media (max-width: 768px) { .av-flex-container { flex-direction: column; height: auto; } .av-image-column, .av-text-column { flex: 1 1 100%; height: auto; } .av-image-column img { height: 250px; } .av-text-column { padding: 20px; } }Best regards,
IsmaelOctober 31, 2025 at 11:58 am #1490806Hi Ismael,
Thank you so much, that’s awesome! I do get the CSS (almost …) but I have 2 questions. I know I said not to look at the dimensions but still:
- How can I place the text at the bottom like in my example? I guess it must be in .av-text-column but justify-content: center bottom doesn’t work
- Where/how can I change the proportions? Let’s say image 70% text 30%
EDIT: Found it, It’s in the flex properties. .av-text-column {
flex: 1; and .av-image-column { flex: 3; did the trick. So forget the last questionBest regards,
StevenNovember 1, 2025 at 2:08 pm #1490845Hi,
Glad to hear that you have this sorted out with Ismael’s help, if you have further questions please open a new thread and we will try to help. Thanks for using Enfold.Best regards,
Mike -
This topic was modified 1 month, 2 weeks ago by
-
AuthorPosts
- The topic ‘Content slider with image and text on the right’ is closed to new replies.

