cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Dropdown Color

NP_10149671
7-Bedrock

Dropdown Color

Hey @krishnakomal ,

 

Do you know how to change the color of dropdown scrollbar by using CSS? Here I attach SS.

Please help me in this. 

 

 

Thanks.

7 REPLIES 7

You can maybe try :

 

 

body {
  scrollbar-color: red yellow;
}

 

It'll probably modify all scrollbar

To only modify the scrollbar into the dropdown you can maybe do :

.YOUR_DROPDOWN {
  overflow-y: scroll; /* I think you already got this */
  scrollbar-color: yellow green;
}​



 

Regards,

Hi @LM_10415801 , @bchaudhary ,

 

It's not working. Please check attached Screenshot. 

 

 

Thanks.

Hello again @NP_10149671 ,

Instead of "YOUR_DROPDOWN" you have to write the name of the dropdown (in css, after "." you have to write the name of the component you want to design and after "#" you have to write his id).

Best regards,

Hey @LM_10415801 ,

 

 After "." I wrote the name of the component and after "#" I wrote color id. But still it's not working. Shall I need to add anything in this (Please check SS.)

 

Thanks.

Hello @NP_10149671 ,

 

Pls check the below attached community post. And it happened to solve the similar issue. 

 

Let me know if it helps.

 

Regards

Bhawna

Hello @NP_10149671 

 

My bad I haven't attached the post Please check the below post and let me know if it resolve your issue.https://community.ptc.com/t5/ThingWorx-Developers/I-want-to-change-the-scrollbar-style/td-p/788917?posno=13&q=change%20the%20color%20of%20scroll%20bar&source=search 

 

Thanks

Hi @bchaudhary ,

 

Previously, I gone through this post and checked but it did not work. 

 

Thanks.

Top Tags