Jump to content

How to style the search filter within tables?


Mocke

Recommended Posts

Hi all,

This is yet another situation where I thought updating the CSS would be easy but WHMCS proves otherwise 😉

Within the client area there are a lot of tables (invoices, quotes, tickets etc.) which contains a search box at the top of the table, this one:

image.png.a2034b8fea9c02cd5dcae9bbfadc2df9.png

 

Is there some way to remove this from the table and place a custom style search box somewhere else on the page? I would like to replace the above with this:

 

image.png.00bada384ceda66b3c713b247e2fc3d6.png

 When inspecting the page with a table I can see the code for the search filter 

<div id="tableEmailsList_filter" class="dataTables_filter">
  <label>
    <input type="search" class="form-control input-sm" placeholder="" aria-controls="tableEmailsList">
  </label>
</div>

<div class="dataTables_info" id="tableEmailsList_info" role="status" aria-live="polite">Showing 1 to 10 of 21 entries</div>

When viewing the source code no code is visible, I presume WHMCS dynamically adds this code.

 

Thank you in advance for any assistance

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated