Tagged: team member biography
-
AuthorPosts
-
September 20, 2023 at 2:31 pm #1419720
Hi,
I’m trying to figure out a way to nicely present the biographies of speakers on this page:
I’d like them to be filling in the same space in terms of length, or something that results in being nice and balanced.
Is there a possibility for example to add a “read more” link after the first line of bio inside the “team member” bio description, so it’s showing the full bio?
Alternatively, what solution could you suggest that I use to have a more visually balanced, pleasant and less clunky page?
Thank you
September 21, 2023 at 5:24 am #1419817one way could be the very old way to set something in this html :
<details> <summary>Details</summary> Click here to add your own text </details>you can add that to the team member description field – there are warnings about using tags – but it will work!
Or you do not enter the description to the team member element but in a separate text-block under the team member element.
On newer enfold versions there are options to fold/unfold text-block element just below the content input text area.see both alternatives here:
https://webers-testseite.de/team-member/September 21, 2023 at 8:56 am #1419834Fantastic @Guenni007! Problem solved, you’re a star!
Thank you so much.Thread can be closed.
Thanks again!September 21, 2023 at 10:36 am #1419864OK
Of course you can replace the details text. (not that one in the tag – but surrounded by the details tag)September 21, 2023 at 10:37 am #1419865I did already and it looks perfect, thank you so much!
September 21, 2023 at 4:50 pm #1419937Yes – i belong to the Text inside <summary>XYZ</summary>
by the way if you like to have only one details open at the same time:
function only_one_details_open(){ ?> <script type="text/javascript"> (function($){ $('details').on('click', function(){ $('details').not(this).removeAttr("open"); }); })(jQuery); </script> <?php } add_action('wp_footer', 'only_one_details_open');September 23, 2023 at 12:37 pm #1420107 -
AuthorPosts
- You must be logged in to reply to this topic.

