I am using buttons to show URL links in several tables. I am trying to format the buttons color with the setting, but to no avail as sown on the screen shot attached. It is showing the button on left side of the screen and the setting on the right side: not related. The filter popup window colors are not activated either.
The rest (row, and columns colors) is working ok. Any idea?
In regards to the screenshot you provided - the settings there are for the buttons inside New and Edit modals - when you add a new row or modify an existing one.
You can add a custom CSS class for the button and set it up through Custom JS and CSS, under main settings of wpDataTables (see attachment).
Then, you can add any CSS you'd like - something like this:
Thanks for your effort. Unfortunately these lines of codes are in fact overwritten by the theme parameters. Whatever the theme I use, the button appearance remains the same, CSS or no CSS.
I am afraid I will need to tweek the theme one way or the other.
You can't find it in the documentation since !important is basically a keyword you can add to the end of a CSS property/value pair to give more weight to that CSS value. The reason it is used is due to the nature of CSS, which assigns weight to values according to where they appear in the “cascade”.
An !important rule works like this:
CSS:
p {
color: red !important;
}
#thing {
color: green;
}
HTML:
<p id="thing">Will be RED.</p>
The paragraph will be red, even though the ID selector has higher specificity. The !important rule overrides that particular property.
The !important rule is a way to make your CSS cascade but also have the rules you feel are most crucial always be applied. A rule that has the !important property will always be applied no matter where that rule appears in the CSS document.
Could you tell me which button you'd like to use from the screenshot?
I can take a look, of course, but you'd need to provide me a temporary WP-admin login for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue. We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course we do not provide login data to third party. You can write credentials here just check Private Reply so nobody can see them except us.
The last question remaining, in the same page and table, is the clear filter button color/style. See picture attached. Where can I add the class, or adjust background colour and text colour?
You can choose how many rows are displayed by selecting the "Default rows per page" drop-down:
Altering the row height can be done with CSS:
.wpdt-c td {
line-height: 30px !important;
}
I hope this helps.
Also, for future reference:
When you have questions or issues which are not related to the title of the active ticket can you please open a new one, and we will help you there. In that way, issues and questions which are related to different subjects will be in different tickets so other customers or our support agents can find it easily. Our policy is to have one issue or question per ticket because of the reasons that is described already.
Hi,
I am using buttons to show URL links in several tables. I am trying to format the buttons color with the setting, but to no avail as sown on the screen shot attached. It is showing the button on left side of the screen and the setting on the right side: not related. The filter popup window colors are not activated either.
The rest (row, and columns colors) is working ok. Any idea?
Didier
Hello Didier.
In regards to the screenshot you provided - the settings there are for the buttons inside New and Edit modals - when you add a new row or modify an existing one.
You can add a custom CSS class for the button and set it up through Custom JS and CSS, under main settings of wpDataTables (see attachment).
Then, you can add any CSS you'd like - something like this:
And the result would be:
I hope this helps.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Thanks Alexander for your time. I will try also I am not (yet) familiar with CSS.
Regards
didier
HI Didier,
No problem. Let us know the result.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Ok it is clear to put the CSS code in the main setting define the button1 class.
But how do I apply that class to a specific column?
Didier
Hello again Didier.
You need to define it in column settings, under CSS class(es) field:
After that, any CSS you added to Custom JS and CSS will only apply to columns with that CSS class.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Thanks for your effort. Unfortunately these lines of codes are in fact overwritten by the theme parameters. Whatever the theme I use, the button appearance remains the same, CSS or no CSS.
I am afraid I will need to tweek the theme one way or the other.
best regards
Didier
Hi again Didier.
Have you tried using the !important property?
Please let me know.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Alexander,
Yes it does have an effect this time. But on even rows only and not what was expected.
see picture attached;
regards
Didier
What is the !importatnt supposed to do? I have not seen it mentioned in documentation.
Didier
Hi Didier.
You can't find it in the documentation since !important is basically a keyword you can add to the end of a CSS property/value pair to give more weight to that CSS value. The reason it is used is due to the nature of CSS, which assigns weight to values according to where they appear in the “cascade”.
An !important rule works like this:
CSS:
HTML:
The paragraph will be red, even though the ID selector has higher specificity. The !important rule overrides that particular property.
The !important rule is a way to make your CSS cascade but also have the rules you feel are most crucial always be applied. A rule that has the !important property will always be applied no matter where that rule appears in the CSS document.
Could you tell me which button you'd like to use from the screenshot?
I can take a look, of course, but you'd need to provide me a temporary WP-admin login for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue. We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course we do not provide login data to third party. You can write credentials here just check Private Reply so nobody can see them except us.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi again Didier.
I'm sorry but I wasn't able to log in with those credentials:
Can you please check again and let me know.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Didier.
I believe I found the issue.
You added a CSS Class for the column, not for the button (see attachment "Selection_017").
When I moved that class to the other tab and assigned the class to the button, it looks good (see attachment "Selection_018").
https://membres.cami-aero.fr/?page_id=2688&preview_id=2688&preview_nonce=9d6d490538&_thumbnail_id=-1&preview=true should look just fine now.
When you added the class to the column, it applied the CSS to the cell instead of the button, that was the issue.
Please let me know if all's good now.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Thank you Alexander. Yes it does the trick.
The last question remaining, in the same page and table, is the clear filter button color/style. See picture attached. Where can I add the class, or adjust background colour and text colour?
Regards
Didier
Hi Didier.
You can modify the following CSS and paste it in Custom CSS and that should do the trick:
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Yes it does!
Great!Thanks Alexandar for you help and teaching that are much appreciated.
best regards
Didier
You are welcome Didier. Glad that we solved the issue.
If you have any more issues or questions feel free to open a new ticket, we will gladly help.
We'd greatly appreciate it if you could take a minute and leave a Review on CodeCanyon on this link. Thanks!
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hello Alesandar,
It did post a review.
An other question: how can we adjust tables row high, to dispay more rws on a page?
Regards
Didier
Hi Didier
Thanks for the review!
You can choose how many rows are displayed by selecting the "Default rows per page" drop-down:
Altering the row height can be done with CSS:
I hope this helps.
Also, for future reference:
When you have questions or issues which are not related to the title of the active ticket can you please open a new one, and we will help you there. In that way, issues and questions which are related to different subjects will be in different tickets so other customers or our support agents can find it easily. Our policy is to have one issue or question per ticket because of the reasons that is described already.
Thank you for understanding.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
OK thanks Alesandar. I will follow the process.
regards
Didier
You are welcome Didier. Glad I could be of service.
If you have any more issues or questions feel free to open a new ticket, we will gladly help.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables