How can I add an icon to my custom css button? Here is what I have now please just add any icon and Ill replace it after. I want the icon to be on the left side next to the words
You can use HTML tags as I suggest you in previous post, and if you are using clases then you can set it in Custom wpDataTables CSS under the "Custom JS AND CSS" in main settings of wpdatatables.
You have a lot of examples on the Internet and here is one of them
How can I add an icon to my custom css button? Here is what I have now please just add any icon and Ill replace it after. I want the icon to be on the left side next to the words
.imagebutton {
border: none;
padding: 0px 0px;
text-align: center;
text-decoration: none;
display: inline-block;
}
Hi Dylan,
Thank you for your interest in wpdatatables.
In wpDataTables 2.1 and higher, additional settings for URL link columns are available:
When you insert name of the class there, then you need to made it in
in Custom wpDataTables CSS under the "Custom JS AND CSS" in main settings of wpdatatables.
If you have conflict with theme or other CSS rule please use !important;
Also, you can insert your on HTML tags on columns that have column type string.
All useful information you can find in our documentation on this link.
Best regards.
Kind Regards,
Isidora Markovic
wpDataTables: FAQ | Facebook | Twitter | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Amelia demo sites | Docs
You can try our wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables
How can I add an Icon next to the button? Similar to what I attached.
Hi Dylan,
You can use HTML tags as I suggest you in previous post, and if you are using clases then you can set it in Custom wpDataTables CSS under the "Custom JS AND CSS" in main settings of wpdatatables.
You have a lot of examples on the Internet and here is one of them
https://stackoverflow.com/questions/47336939/button-with-an-icon-css
Can you please tell me are you are using Lite version of our plugin?
Best regards.
Kind Regards,
Isidora Markovic
wpDataTables: FAQ | Facebook | Twitter | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Amelia demo sites | Docs
You can try our wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables