I added a css class through the style system in a component.
The problem is that it only works in author mode, in publish mode it never works.
Has anyone faced this issue?
Solved! Go to Solution.
Hi @joeltsousa1, If Replication is not working properly even after checking everything is working fine, Try to go with package your policies & update them on Publisher to firefight the problem.
After that, try to include these changes in the Codebase, change the filter to "update" and build & deploy.
Please check the following :
I'm trying to add this css class to the core component "Layout container"
And in author mode the class appears in the DOM
The css class has been added to the project's global css file
In dev and stage environments it is working correctly
@joeltsousa1 : Try publishing the /conf/<project>/settings/wcm/policies/<project>/components through replication queue or distribution queue. It should work
In that case please check the first point as I mentioned. Check in publisher CRXDE whether policy is getting updated after replication. If the policy is not getting updated on Publisher then check replication queue and access as well whether user has rights to publish policy.
my policy was replicated and it still doesn't work.
my policy path is as follows: /conf/my-prject/settings/wcm/policies/wcm/foundation/components/responsivegrid/policy_7061548212825753
will this be the problem?
Hi @joeltsousa1, Try publishing the Template as shown below. If you still see this issue even though your Replication stack is clear, then try to package them & install them in the publisher as the last option.
my policy was replicated and it still doesn't work.
my policy path is as follows: /conf/my-prject/settings/wcm/policies/wcm/foundation/components/responsivegrid/policy_7061548212825753
will this be the problem?
Hi @joeltsousa1, If Replication is not working properly even after checking everything is working fine, Try to go with package your policies & update them on Publisher to firefight the problem.
After that, try to include these changes in the Codebase, change the filter to "update" and build & deploy.