Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author DBAR Productions

    (@dbar-productions)

    My plugin uses simple tables to display the members. Whether or not there are borders depends on how the theme you are using styles tables. Some themes put borders around tables & table rows/cells, while others do not.

    If you want to show borders, then you need to edit the CSS for your theme to show borders around tables or table rows/cells (as desired).

    Some themes have an area where you can enter custom CSS to override their default values. Or, you can use the built-in wordpress editor to modify their style sheet.

    Additionally, I give the directory table a class of:
    pta_directory_table
    so you can add custom CSS only for the directory table without affecting the display of other tables on your site.

    I follow the guidelines that plugins should be used to add functionality without changing appearance, while themes are what you typically use to change the appearance of your site. I do not want to override what the theme is doing for tables so that the directory table will remain consistent with other tables on your site. If you don’t like how your theme displays tables, then you need to modify the CSS for tables inside your theme.

    If you don’t want to do it in any of the theme files, my plugin also has a very small CSS file where you can add some additional CSS. Look for the pta-contact-form.css file, and you can then add some border styling to the table elements as desired. But, be aware that this will get overwriting if you upgrade the plugin in the future, so it’s best to add your custom styles to the custom styling area of your theme (if it has one).

    Plugin Author DBAR Productions

    (@dbar-productions)

    Plugin Author DBAR Productions

    (@dbar-productions)

    A new feature has been added in version 1.1 to add borders to the table for themes that don’t have borders for tables by default. You can enable this in the options, and you can also choose the border color, border size, and the cell padding.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Display members’ is closed to new replies.