Support » Plugin: People Lists » Display in 2 columns on page with pagination

Viewing 1 replies (of 1 total)
  • Hello,

    Edit people-lists.php. At around line 841.
    Change $html = '<div class="person">';
    by $html = '<div class="person" style=";float:left">';

    After that modify your template to fit the width of the page and that’s all. DONT FORGET to add a left margin! Here is one of my template for my residence (this is an adressbook)

    <div style="background-color:#FDC97D; margin-right:10px;margin-bottom:10px;width:270px; height:115px; border:1px solid black" >
    <div style="position:relative;float:left;margin-top:5px;margin-left:5px;">%thumbnail%</div>
    <div style="position:relative;padding-top:5px;margin-left:95px;height:15px;width:100%;"><font size="2.9"><strong>%firstname% %lastname%</strong></font>
    	<font size="2.5">Batiment %people_lists_votre_b_timent__juste_la_lettre_% - APPT %people_lists_votre_appartement__juste_le_num_ro_% 

    [Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

Viewing 1 replies (of 1 total)
  • The topic ‘Display in 2 columns on page with pagination’ is closed to new replies.