How do I customize styling for APIM widgets such as the sign-up form?

jhuynh 0 Reputation points

The deprecated developer portal has side navigations and pop-up modals. How do I enable features like that? Or edit links and styling inside of a widget? Some of the typography inside widgets are not controlled by the global styles in the developer portal.

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,079 questions
No comments
{count} votes

2 answers

Sort by: Most helpful
  1. MuthuKumaran Murugaachari 5,921 Reputation points Microsoft Employee

    @jhuynh Thank you for reaching out to Microsoft Q&A.

    1. The support for popups was added recently in self hosted portal #1893 and it is currently being rolled out in managed portal version. If you can elaborate more on side navigations with example and screenshot, it would help us understand better.
    2. You can navigate to Styles page in the developer portal (Global Styles- Styling Guide) and choose/upload font and select Typography for form controls such as Label, Text box, Buttons, links etc. However, this applies at the global level, and we are working to enable more local styles in widgets so that users will be able to override global styles (see comment). Unfortunately, ETA is not available at the moment. Here is the sample textbox color and button color change in the signup widget (applied from Global Styles).
      User's image If you see some styles at the global level not applied in widgets, please share an example with details for us to review or feel free to open an issue in GH repo.

    Also, I would like to let you know three options that we have to extend portal functionality and please review doc for detailed info.

    I hope this helps with your question and feel free to reach out for any questions. Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community.

    No comments

  2. jhuynh 0 Reputation points

    Hi @MuthuKumaran Murugaachari, thanks for your answer! Here is an example of what I want to customize:

    Currently on the Sign up widget, the consent is formatted as "I agree to these terms. Show" and I am unable to change this so that the "Show" either links to a new tab/external window, or delete "Show" so that I can hyperlink "terms" to an external window. The reason I need to do this is because right now if I click on "Show," the Terms text will slide out beneath and it is a massive wall of text above the "Sign up" button. I want the Terms to be linked as a separate page. I currently cannot even use HTML to hyperlink text from the Identities > Settings > Terms of use module.

    Screenshot 2023-01-17 at 11.06.09 AM

    Screenshot 2023-01-17 at 11.13.17 AM

    Screenshot 2023-01-11 at 2.16.00 PM

    I discovered in the deprecated developer portal that the consent checkbox was able to be formatted differently: 1) the "Terms" got to be highlighted, and 2) the link triggers a pop-up modal. This gave me the impression that these widgets were highly editable.

    Screenshot 2023-01-17 at 11.08.07 AM

    Screenshot 2023-01-12 at 10.33.02 AM

    Please let me know your thoughts! Thanks.