I want to know where to place the CSS file that I want to add for a Sitecore form field. For the WFFM the path was /sitecore modules/Shell/Web Forms
for Marketers/Themes.
I am using Sitecore 9.1
and I have the form module working fine. But there are no Web Forms for Marketers folder.
Where should we place the custom CSS or script file for Sitecore Forms fields?
Updating the question 06/10/2020
I have placed my CSS file in below-mentioned path /sitecore modules/Web/ExperienceForms/css
.
Custom CSS file name is basicfield.css and the content of the class is as below:
.btn-testsuccesss {
color: #fff;
background-color: hsl(93, 41%, 65%);
border-color: hsl(93, 41%, 45%);
}
adding the CSS in form field as below(also tried with direct CSS file name didn't work):
But it is not reflecting, what am I missing? why is it not working?
website/sitecore modules/Web/ExperienceForms/css
? You may need to create the foldercss
if not present. Then, just add the css file name in the field of the main form