i think this is one of features of accordion is when you click the accordion a color on the top of accordion highlights like the picture below, is there a way where i can hide or disable it? Thanks!
Hi @budang haba You can use this class to remove or change the border-top property when the accordion is open. Just past this css in the application theme. .osui-accordion-item--is-open::after{
border-top: none;
}
You can change the class to customize as your requirements.
thank you sir! it finally worked
Hi, You can try to override using below CSS. Hope this helps
thnak you so muchhh!!!!! really worked dude
Hello,
Removing the border variable define may cause other issue, if it is being used somewhere else as well,
Instead of that you can just remove the border from the accordion that you want,
Also if you use apply directly to the page replacing the existing css it will override for all accordion on the page,
If you want it specifically for accordions the just wrap your accordion into a container and give a class to it and apply it like this
.accordion-wrapper .osui-accordion-item--is-open::after {border-color:transparent; }
https://personal-ejuytnht.outsystemscloud.com/TestApp/Screen1?_ts=638513007189569220
ThanksTousif Khan
geez dude good day! it finally worked thank you so much!
Hi budnag
I have solved the same problem using this css.
.osui-accordion-item {
--accordion-active-border-size: 0px !important;
just paste this css on the screen where you have used the accordion. and this will resolve the issue.
duddee what a life saver, thank you so much dude it finally worked!
Hi @budang haba,
Update the below Class in your application to change the color or hide the top border as per your requirement.
.section-expandable.is--open Thanks,Vignesh Prakash.
good day! where can i change it in css?
tried this sir but doest not work
can you please try using this CSS.section-expandable.is--open {border-top: var (-- Border-size-none) solid var (-- color primary) !important ;}
still does not work sir