MicrosoftDocs / composer-docs

Public sync of existing composer-docs-pr repo
Creative Commons Attribution 4.0 International
2 stars 5 forks source link

Hero Card Customization #205

Closed JoseKPG closed 1 year ago

JoseKPG commented 1 year ago

Hero Card Customization is not included in the docs. I have successfully customized hero card using webchat and will post the tutorial here for review to be included in the corresponding doc for future use.

  1. Implement bot using web chat BOT ID method.
  2. Run bot using webchat and use inspect element to verify class name of item wanting to customize. (In this example I will customize the button list of a hero card) image
  3. Verify name of class which in this case is: button.ac-pushButton.style-default.ac-selectable
  4. Using a code editor, customize class to obtain desired look. (The following code is the one I used to obtain my desired result and will use as an example) image
  5. After using code editor to customize my desired element, the result was the following: image

As far is I have tested, using this method is not limited to hero cards as it has worked on every element I have tried to customize.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

JonathanFingold commented 1 year ago

Fix is live.