Cross Site Lookup CSS
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Please, use the following CSS to change the background color for all Cross-site Lookup fields on a form:
Code: Select all
.select2-drop {
background-color: red !important;
}
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Please, try the collowing CSS:
If you wish to highlight it dynamically, you can add a custom CSS-class to your field after the selection via JavaScript and define it by the following way:
Code: Select all
.select2-choice {
background-color: red !important;
}
Code: Select all
.highlighted-field .select2-choice {
background-color: red !important;
}
I see your point, thank you.
What we are trying to accomplish is the color of the background and text, nothing else. If the form opens and has a Cross Site Lookup on it we want the background to match the rest of the standard lookups. Nothing to exceptional.
What we are trying to accomplish is the color of the background and text, nothing else. If the form opens and has a Cross Site Lookup on it we want the background to match the rest of the standard lookups. Nothing to exceptional.
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Hello,
Could you make a simple sketch in the Paint to demonstrate your idea?
Could you make a simple sketch in the Paint to demonstrate your idea?
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Hello,
You can share a picture via OneDrive or Dropbox and place the link here.
You can share a picture via OneDrive or Dropbox and place the link here.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 23 guests