Okay
  Public Ticket #1102101
CSS Targeting
Closed

Comments

  •  2
    JP started the conversation

    Hi, first of off, great plug-in and so far support as from what I've seen searching the public tickets!

    Just a quick question, is it possible to target specific elements by table?  For example, if I have table ID 2, and I want to customize the look of a filter for column 2 only, how would I go about doing so without affecting table ID 1 and/or the other filter forms?

    Sorry I was not able to find any information from the FAQs and documentation from the wpDatatables site.

    Thanks in advance!

  • [deleted] replied

    Hi JP,
    Thank you for the purchase.

    Something like that is possible if you add CSS directly on the page between <style></style> tags. Every table on the page has it's own ID. For example (table_1, table_2, table_3...). Don't be confused because this ID is not the same as wpDataTable ID from the shortcode. Usually wpDataTable that is first on the page have table_1 ID etc.

    You can provide me the link of the page with your wpDataTable and I will provide you selecter for the table, and one example how you can customize it.

    Hope this helps!