Change color of Children tabs
-
- Posts: 23
- Joined: 2024-05-12 10:13
Change color of Children tabs
I’m working on a document tracking system, and I need some assistance with changing the color of the child tabs ("Actions" and "PRIVATE Action" or other future tabs). It would be helpful for users to make the tabs color coded for visibility such as Private/URGENT as color red.
- Attachments
-
- Screenshot 2024-10-22 095901.png (18.66 KiB) Viewed 4425 times
Re: Change color of Children tabs
You can add a CSS rule for this in
The selector format is
hooks/footer-extras.php
. Here is an example:
Code: Select all
<style>
.child-table-employees > a {
background-color: #f00 !important;
color: white !important;
}
.child-table-orders > a {
background-color: #060 !important;
color: #ff0 !important;
}
</style>
.child-table-{tablename}
, and you should add !important
after the color value to avoid other CSS rules overriding it. Here is the result of the above code example:
- DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
- Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.
- Need personalized consulting on your specific app and customizations? Book an online call with me here.
-
- Posts: 23
- Joined: 2024-05-12 10:13
Re: Change color of Children tabs
Huge thanks! I made it work
Re: Change color of Children tabs
Hi... this tip will also help you, so that the quantities have a flashing badge...
https://appgini.bizzworxx.de/appgini/ho ... -pure-css/
https://appgini.bizzworxx.de/appgini/ho ... -pure-css/
Luis Ramirez R.