Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1419720

    Hi,

    I’m trying to figure out a way to nicely present the biographies of speakers on this page:

    VRWS Agenda

    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

    #1419817

    one 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/

    #1419834

    Fantastic @Guenni007! Problem solved, you’re a star!
    Thank you so much.

    Thread can be closed.
    Thanks again!

    #1419864

    OK
    Of course you can replace the details text. (not that one in the tag – but surrounded by the details tag)

    #1419865

    I did already and it looks perfect, thank you so much!

    #1419937

    Yes – 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');
    
    #1420107

    Hi,

    Thanks for helping out @guenni007 :-)

    Best regards,
    Rikard

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.