You are here:  » Separate product Search


Separate product Search

Submitted by Tobix on Fri, 2020-02-14 22:14 in

Hello,
did I want to insert a dividing line to separate each product or a square as in the example? How can I do?

Submitted by support on Sat, 2020-02-15 10:14

Hello Tobix,

One option would be to add an <hr /> after each result, for example if you edit html/searchresults.php and look for the following code at line 71:

    <?php endforeach; ?>

...and REPLACE with:

      <hr />
    <?php endforeach; ?>

Alternatively, each result is output in a div with the Foundation "row" class and "pt_sr_each" so you could border / pad each result by editing the existing definition in html/default.css:

  .pt_sr_each {
    margin-top:15px;
  }

...for example:

  .pt_sr_each {
    margin-top:15px;
    border: 1px solid #eee;
  }

Hope this helps!

Cheers,
David.
--
PriceTapestry.com