Hi Team,
I want to give some default styels for components, in my template I have some group of styling, where like Alignment group(left,right), another group like(color) so In alignment I want left should be default. I used defaultstyleclass in template but when I change other style color then alignment also changing back how can I rectify this ?
Solved! Go to Solution.
Views
Replies
Total Likes
The default style should help you with this. Can you please check if the other styles that you are adding are having any alignment changes as well? Also, please note that your changes would be overridden on the build if you don't have them in your code.
Hope it helps!
Thanks,
Kiran Vedantam
I think decoration tag will help you in above scenario.
Imple
Result:
hope this helps;
Umesh Thakur
Hi @Umesh_Thakur thanks, but I'm trying to give for core component so I added new policy and there I'm trying to give default style for a particular policy. So for polices this tag won't work right ?
The default style should help you with this. Can you please check if the other styles that you are adding are having any alignment changes as well? Also, please note that your changes would be overridden on the build if you don't have them in your code.
Hope it helps!
Thanks,
Kiran Vedantam
Views
Likes
Replies