Changing testimonial.php - meny options

edited December 2014 in Corpbiz
Hello,

We try to change a testimonial.php for:

3 rows / 4 rows / 5 rows / 6 rows

Why ?

Because We use testimonial part template to other thinks.

Comments

  • Hi

    To increase more rows for this 

    GO To Admin Dashboard << Appearance << Option Panel << Our Clients Setting <<  Find 

    Number of client on client/testimonial section field  and  select  no of testimonial /clients  as you need 

    Finally click on Save Options  button .

    Let me know for any confusion 

    Thanks 
    Akhilesh


  • Hi,
    Yes we know and we been set 12.

    But the problem is only 2 columns, we need more 3 / 4 / 5 or 6
  • edited December 2014
    Hi 

    The field   Number of client on client/testimonial section field  use for increasing number of rows . If you want to increase into the column then tell me exactly what no of column layout would you want .
    If you want  4 column layout Then  

    1 Open your index-testimonial.php file  
     
    find the below two different  line of code 
    on line no  41
    <div style="border-bottom:<?php if($i >$client_row) { echo "none"; } else { if($i >=$start && $i<=$end) { echo "none"; } } ?>;" class="Client_area media_column media_padding_top <?php if($i%2) { echo "media_padding_right"; } else { echo "media_border_right media_padding_left"; } ?>">
    and on line no 59 
    <?php if($i%2==0){ echo "<div class='clearfix'></div>"; } $i++; endwhile;

    and replace it with below line of code 

    Line no 41 
    <div style="margin-bottom:25px;" class="col-md-3">

    and line no 59 
    <?php if($i%4==0){ echo "<div class='clearfix'></div>"; } $i++; endwhile;

    Let me know for further assistance .

    Thanks 
    Akhilesh
  • Hi,

    We change line 41 and it look Ok now.

    For line 59 we dont have it.
  • Hi 

    The code of line no 59 is usefull when we add  more then 4 clients 


    Any way  if your issue  resolve then  allow me to close this ticket .

    Thanks
    Akhilesh
  • Hi,

    We change :
    Line no 41

    from:
    <div style="border-bottom:<?php if($i >$client_row) { echo "none"; } else { if($i >=$start && $i<=$end) { echo "none"; } } ?>;" class="Client_area media_column media_padding_top <?php if($i%2) { echo "media_padding_right"; } else { echo "media_border_right media_padding_left"; } ?>">

    to

    <div style="margin-bottom:25px;" class="col-md-3">

    And resolve a problem.



  • edited January 2015
    Hi 

    Okay  thanks  I am closing this ticket.


This discussion has been closed.