-
AuthorPosts
-
March 20, 2024 at 1:48 am #1437659
hi there,
is there a way to achieve this layout: https://share.cleanshot.com/T693w86n inside a 1/3 column?
the content here is going to be manually added / edited, it’s not pulling through any posts or anything.
many thanks,
JasonMarch 21, 2024 at 8:51 am #1437750Hey Jason,
Thank you for the inquiry.
You can manually add this html in a Text or Code Block element to create a two column container:
<div class="av-column-custom-container"> <div class="column"><img src="image.jpg" alt="Image"></div> <div class="column"> <h2>Title</h2> Job Sector: IT Excerpt: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget placerat enim. <a href="#">Read More</a> </div> </div>
Then use this css code:
.av-column-custom-container { display: flex; flex-wrap: wrap; justify-content: space-between; } .av-column-custom-container .column { width: 48%; margin-bottom: 20px; } .av-column-custom-container img { max-width: 100%; height: auto; }
Adjust the styles as needed.
Best regards,
IsmaelMarch 27, 2024 at 3:59 am #1438396hi @Isamel,
yeah, that would totally work but it’s the client that is going to be updating this content, so that’s not going to be a workable solution for them.
would it be easier to pull through post content in this case?
title, tag (or category) featured image & excerpt
the thing is, this is almost like a dummy post, it will link off to an external URL.
ACF maybe?
what do you think, i’m trying to make tis as simple as possible for the client.March 27, 2024 at 8:13 am #1438412Hi,
Thank you for the update.
Yes, you can ACF or the theme’s dynamic content feature. Please check the link below for more info:
// https://kriesi.at/documentation/enfold/custom-layout-and-dynamic-content/
You can also create a Custom Element Template (CET):
// https://kriesi.at/documentation/enfold/custom-element-templates/
Best regards,
IsmaelMarch 28, 2024 at 3:37 am #1438511hey @Isamel, that first link (https://kriesi.at/documentation/enfold/custom-layout-and-dynamic-content/) is asking me for a password…
March 28, 2024 at 8:58 am #1438525Hi,
Sorry about that. I forgot that the dynamic content feature is not yet available, but it will be released on Enfold 6.0. For now, you can try the Custom Element Templates (CET).
// https://kriesi.at/documentation/enfold/custom-element-templates/
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.