1. Support Center
  2. Website & Marketing

Formatting your widget so providers appear in multiple columns

Problem

You would like for the provider widget (the widget that list all available providers for a given location) to display in multiple columns, but the default format is for a single column.

Solution

To have the widget display in multiple columns, you will need to add a line of style code to your website. While it is recommended that this be pleased in the header section of your website, the code can appear anywhere above the widget code.

  1. Determine whether you want two or three columns. It is not recommended to go with more than three columns. If you have entered information into the provider bio section, it is recommended to display no more than two columns.

  2. Add the code to your site based on how many columns you prefer:

    1. Two Columns

<style>

.nextpatient-provider {float: left;width: 50% !important;}

.nextpatient-box {max-width: 100% !important;}

</style>
    1. Three Columns
<style>

.nextpatient-provider {float: left;width: 33% !important;}

.nextpatient-box {max-width: 100% !important;}

</style>

Editing your site’s CSS or HTML may have unintended consequences. NextPatient encourages having a dedicated web maintenance team such changes, however, if one is not available, be sure to test on a new page that does not impact your site’s operation.