• Hi,
    I created a custom template using pdb_total. My page simply calls:
    [pdb_total template=”custom”]

    I was able to create a pdb-total-custom.php

    It displays everything in a nicely formatted HTML table.
    It looks great except that before my table displays (above it)
    is a lot of space and a horizontal line.

    Can I remove that so my table appears closer to the top of the page? I looked through the code but couldn’t figure our where in your code that space and line is created.

    My custom template uses your suggestion and make multiple calls to: PDb_Template($this) to get the fields it needs. I had to us the total template instead of the single template because I didn’t want to use ?pdb= in the URL. I wanted to use ?town= in the URL.

    So I do a _GET to determine what town to look for. Then I look through the records (while statement) to find the specific record.

    thanks.

    Steve

    https://wordpress.org/plugins/participants-database/

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

    (@xnau)

    What you are looking for isn’t in the code, but in the CSS that’s controlling the display. That is where you need to correct the layout. Is your developer’s tools in your browser to see which CSS rules are causing the space, then add new rules to override them.

    Thread Starter saz25

    (@saz25)

    Yes, I see it. I turned on FireBug.

    From what I see, the issue is in my specific theme and not a function of your plug-in. Correct?

    thanks,
    Steve

    Plugin Author xnau webdesign

    (@xnau)

    Yes, well the plugin has some basic CSS, but themes will often add their own styles and sometimes the result is not what you’d want.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘pdb_total question’ is closed to new replies.