• Is there a way to add a line separator?

    I have this code that gives me a list of 10 results :

    [pdb_list search=true template=responsive list_limit=”10″ orderby=”startdate” order=”desc” filter=”employedflag=1″ fields=”startdate, img_person, fname, lname” class=”pdb-list-grid”]

    I would like to add some kind of separator between each record/line result, something like :

    =================================================================
    <startdate>
    <img_person>
    <fname>
    <lname>
    =================================================================
    <startdate>
    <img_person>
    <fname>
    <lname>
    =================================================================

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author xnau webdesign

    (@xnau)

    You need to do this with a CSS rule. I can’t give yu the exact code to get what you want, but tytpically, you’d add a border to the bottom of the record container. You need to look at the HTML source to see which container to add the border to, and that is going to depend on the remplate you’re using.

    For example for the “responsive” template, you could use a rule lke this:

    .pdb-list section {
        border-bottom: 1px solid black;
    }

    to add a border to the bottom of each record in the search results. It will be up to you to get the exact effect you want.

    Thread Starter victorkun

    (@victorkun)

    Thanks! Will give this a shot and report back here.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Separator between all results’ is closed to new replies.