dmcfull Posted January 10, 2014 Share Posted January 10, 2014 Hi I´m facing an issue customizing supporttickets.tpl The line 35 <td>{$ticket.status}</td> Gets generated as <td><span style="color:#000000">Contestado</span></td> And I need to change that color since I use black background in WHMCS Any ideas? 0 Quote Link to comment Share on other sites More sharing options...
DennisHermannsen Posted January 10, 2014 Share Posted January 10, 2014 <td class="red">{$ticket.status}</td> CSS: .red span{ color:red !important; } Something like that would do the trick. 0 Quote Link to comment Share on other sites More sharing options...
dmcfull Posted January 10, 2014 Author Share Posted January 10, 2014 Thanks for the reply The problem with that is that no matter which status the ticket is it shows in red color 0 Quote Link to comment Share on other sites More sharing options...
DennisHermannsen Posted January 10, 2014 Share Posted January 10, 2014 Ohhhh, I see. I actually don't know if there's a file in which you can edit that. My guess is that it could've been coded "into" the variable if you know what I mean. - - - Updated - - - Yup, that can be changed directly from the admin panel... http://docs.whmcs.com/Support_Ticket_Statuses 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted January 10, 2014 Share Posted January 10, 2014 If it doesn't work because !important is already in use, just make the css selector longer. Longer selectors overwrite shorter ones. Edit: read post above it's better 0 Quote Link to comment Share on other sites More sharing options...
dmcfull Posted January 10, 2014 Author Share Posted January 10, 2014 Thank you very much very helpful!!!!! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.