Where css changes are saved for theme & style mode? | Community
Skip to main content
sesmic
July 11, 2023
Solved

Where css changes are saved for theme & style mode?

  • July 11, 2023
  • 1 reply
  • 652 views

Hello,
This might be dumb question, but I wanted to know in which location does the css changes are saved when we edit/create theme vs when we add css/styling to form fields in Style Mode any Form?
I believe theme changes are saved in /etc folder for respective theme. (Please correct me if I'm wrong) 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Pulkit_Jain_

@sesmic 

When you associate a theme with an AF, the default theme css (from under /etc/clientlibs) is applied to the form.

When you make any styling changes to the form fields, then those changes will reflect under the form path (/content/forms/af/[AF]/jcr:content/guideContainer/rootPanel/items/[field]/style/) and will override the default css for the theme.

1 reply

Pulkit_Jain_
Adobe Employee
Pulkit_Jain_Adobe EmployeeAccepted solution
Adobe Employee
July 12, 2023

@sesmic 

When you associate a theme with an AF, the default theme css (from under /etc/clientlibs) is applied to the form.

When you make any styling changes to the form fields, then those changes will reflect under the form path (/content/forms/af/[AF]/jcr:content/guideContainer/rootPanel/items/[field]/style/) and will override the default css for the theme.

sesmic
sesmicAuthor
July 12, 2023

Hi @pulkit_jain_ 
Thanks for the reply.
Looks like the changes made in Style mode are saved in fields properties as String[] & not in css file.