Add "class" to the location header output

Viewing 3 reply threads
  • Author
    Posts
    • #1654
      Martin Taylor
      Guest

      At present, location headers are output as <h3> elements, ahead of the member table. There’s no way to apply styles to these headers, because there’s no class or other way to target them with CSS. Please either add a filter so that we can specify the tag to be used, or add a class=”pta-location-header” to the code in pta-display-directory.php. I’ve had to do this myself in the plugin file, which isn’t ideal.

      Thanks.

    • #1655
      Stephen Sherrard
      Keymaster

      Yes… good suggestion, and easy enough to add with the next update.

    • #1737
      Martin Taylor
      Guest

      Thanks for adding this in 1.6.2 … with the useful div wrapper as well.

    • #1739
      Stephen Sherrard
      Keymaster

      You’re welcome. Closing this thread so I can keep track of things once this forum gets busier.

Viewing 3 reply threads
  • The topic ‘Add "class" to the location header output’ is closed to new replies.