Adding Style to Custom Component in Sitecore XM Cloud Component Builder
When you working on components in XM Cloud, there is always a need to provide the styling to it. In NextJs component it is pretty clear as you can add the classes to the elements, but when you are creating the components using XM Cloud component builder then things becomes much more easy.
In my previous blog, I have shown how you can create a no-code component using the xm cloud component builder and in this blog i will show you how you can provide style to the controls in component builder.
Please note, Since Sitecore has released its AI version and now being called SitecoreA , so i have updated this blog as per new options available in XM Cloud.
Reaching out to Components Section
Step 1: Click on your site and select Design Studio option
Create Component
Similar kind of options you will get in text field as well.
First add the image element and provide some source to it:
Similarly according the elements you use while creating the component, the styling properties gets changed.
Comments
Post a Comment