-
AuthorPosts
-
October 9, 2023 at 3:26 pm #1421923
Hi,
I’m playing around with the design for magazine articles and have tried the Content Elements: Blog Posts, Magazine and Masonry.
When I use the Advanced Layout Editor to design a post
and use the Blog Post Element on a page (where I show all category articles)
with Grid Layout as Blog Style
and select Title, Excerpt + Read More
-> only the Title and Read More Link is displayed but not an Excerpt (Link see private content)
I get the Excerpt only when I use the Default Editor
• Is it possible to change that?
• How can I change the font size of the displayed headline?
I tried (but it didn’t work)
.entry-content-wrapper .post-title {
font-size: 16px !important;
}And than I have a page for each article category
where I use the Masonry Content Element
• Is it possible to show a “Read More” link
• an Excerpt would be great tooBest regards
BettinaOctober 10, 2023 at 4:17 am #1421953Hey Bettina,
Thank you for the inquiry.
I get the Excerpt only when I use the Default Editor
This is correct. For posts created using the Advance Layout Builder, you have to add the excerpt manually in the Excerpt field. If the Excerpt field is not visible, please go to the Screen Options to enable it.
To adjust the style of the heading elements, go to the Enfold > General Styling > Typography panel or the Enfold > Advanced Styling panel.
Best regards,
IsmaelOctober 10, 2023 at 10:38 am #1421991Hey Ismael,
thank you!
Works perfect – even the excerpt in the Masonry :D
Now I just need your support if it’s possible or how to show the “Read more” link for the Masonry Content Element.Best Regards
BettinaOctober 10, 2023 at 2:21 pm #1422014Hi,
Glad to know that the suggestion helped. To add a read more link to the masonry content, please add this code in the functions.php file.
add_filter("avf_masonry_entry_content", function($content, $entry, $atts) { $length = 16; $more = "… <span class='avia-button avia-size-small av-masonry-read-more'>Read more</span>"; $content = wp_trim_words($content, $length, $more); return $content; }, 10, 3);
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.