how to make the feild text name bold (more visible) on a Dialog in ASP.NET Core

Hello,

How can make the field texts on a dialog bold  (more visible) 

I have tried calling different CSS classes on the dialog in order to change the text on the field names bold (more visible) but it's not working out.

See below what I'm talking about.






Many thanks

Simon






1 Reply 1 reply marked as answer

SN Sevvandhi Nagulan Syncfusion Team April 15, 2021 10:40 AM UTC

Hi Simon, 


Greetings from Syncfusion support. 


We checked your query.  You can override the default color of placeholder or make the text to be bold using the below CSS code. 

/* To change the color of the placeholder text */ 
 
 .e-ddl.e-input-group input.e-input::placeholder { 
      colorred; 
  } 

/* To make the placeholder text bold /* 

  .e-ddl.e-input-group input.e-input::placeholder { 
      font-weightbold; 
  } 

Please find the UG documentation link for CSS customization. 


If you are using float label property, then use the below CSS code for customizing the placeholder color and make the text to be bold. 
 .e-float-input.e-control-wrapper:not(.e-error):not(.e-input-focus):not(.e-disabledinput:not(:focus):not(:valid) ~ label.e-float-text:not(.e-label-top), .e-float-input.e-control-wrapper:not(.e-error).e-input-focus input ~ label.e-float-text  { 
      colorred; 
    } 

/* To make the placeholder text bold /* 

  .e-float-input.e-control-wrapper:not(.e-error):not(.e-input-focus):not(.e-disabledinput:not(:focus):not(:valid) ~ label.e-float-text:not(.e-label-top), .e-float-input.e-control-wrapper:not(.e-error).e-input-focus input ~ label.e-float-text  { 
      font-weightbold; 
    } 

Kindly get back to us for further assistance. 


Regards, 
Sevvandhi N 


Marked as answer
Loader.
Up arrow icon