OverlayPanel - change background (including arrow)
here you go this CSS changes it to blue whether its flipped top or bottom.
Code: Select all
.p-overlaypanel {
background: blue;
}
.p-overlaypanel.p-overlaypanel-flipped::before {
border-top-color: blue;
}
.p-overlaypanel.p-overlaypanel-flipped::after {
border-top-color: blue;
}
.p-overlaypanel.p-overlaypanel::before {
border-bottom-color: blue;
}
.p-overlaypanel.p-overlaypanel::after {
border-bottom-color: blue;
}
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 12.0.0 / PF Extensions 12.0.6
PrimeReact 9.2.3
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 12.0.0 / PF Extensions 12.0.6
PrimeReact 9.2.3
Thanks, Melloware.
Your solution works when the overlay is displayed below the target.
It partially works when it is displayed above the target. In this case it shows an arrow pointing downwards (correct direction) and another arrow pointing upwards. If the arrow pointing upwards could be removed, that would solve my problem.
Thanks again for taking your time to look into my issue.
Jonathan
Your solution works when the overlay is displayed below the target.
It partially works when it is displayed above the target. In this case it shows an arrow pointing downwards (correct direction) and another arrow pointing upwards. If the arrow pointing upwards could be removed, that would solve my problem.
Thanks again for taking your time to look into my issue.
Jonathan
Jonathan Ekwempu
TobiSoft Inc.
TobiSoft Inc.
Oh you just might need to tweak my CSS a little more. I thought I had checked it in both directions and it was looking OK but there could be something i missed.
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 12.0.0 / PF Extensions 12.0.6
PrimeReact 9.2.3
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 12.0.0 / PF Extensions 12.0.6
PrimeReact 9.2.3
-
- Information
-
Who is online
Users browsing this forum: No registered users and 1 guest