Notifications
Clear all
6 Forums 829 Topics 3,280 Posts 2 Online 3,047 Members

Resolved The search box is not visible on white background

3 Posts
2 Users
0 Reactions
117 Views
Posts: 5
Topic starter
(@momentum_it)
Member
Joined: 5 years ago

osTicket v1.15.2 // osTicket-1.15.1-Awesome-102
PHP 7.4.16 // MySQL 5.7.31 // Apache web server

The search bar on the right side of the navigation row is invisible (you can see the blue magnifier icon, but not the input field or the placeholder):

The search bar should be visible when the bar is themed to be white or some other light colour.

Can you advise on a fix?

Thanks!

Miklos


2 Replies
Posts: 1185
Admin
(@stevland)
Member
Joined: 10 years ago

Add the following code to Admin Panel > Theme > Custom CSS.

The first group is the search field as it displays when inactive.

The second group is when it is in focus.

background-color and border-color should be self-explanatory. color refers to the color of any text that is entered by the user.

Adjust the colors as you see fit.

form[action="kb.php"] #basic_search .input.attached input, form[action="orgs.php"] .input.attached input, form[action="users.php"] .input.attached input, form[action="tasks.php"] .input.attached input, form[action="tickets.php"] .input.attached input {
background-color: #ddd;
}
form[action="kb.php"] #basic_search .input.attached input:focus,
form[action="orgs.php"] .input.attached input:focus,
form[action="users.php"] .input.attached input:focus,
form[action="tasks.php"] .input.attached input:focus,
form[action="tickets.php"] .input.attached input:focus {
background-color: #ccc;
border-color: #eee;
color: #000;
}


Reply
Posts: 5
Topic starter
(@momentum_it)
Member
Joined: 5 years ago

Thanks, this worked!


Reply
Share: