Problem: I would like to change my custom search View's "Submit" and "Reset" buttons to use Font Awesome icons instead of text.
Solution: Use the "name" attribute on the submit button and the "reset_label" attribute on the reset button to insert the necessary HTML markup:
[wpv-filter-submit name="<i class='fa fa-search'></i>" type="button" output="bootstrap" style="background-color:#44c4aa; font-size:0.8em; font-weight: 600; color:#ffffff; margin-top:2px;border-radius: 4px; padding:12px 5px !important;"] [wpv-filter-reset output="bootstrap" reset_label="<i class='fa fa-search'></i>" type="button"]
Relevant Documentation:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-filter-submit
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-filter-reset
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | - | - |
13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | - | - |
Supporter timezone: America/New_York (GMT-04:00)
This topic contains 4 replies, has 2 voices.
Last updated by 6 years, 6 months ago.
Assisted by: Christian Cox.