Customize the appearance and dimensions of your MEMsched widget using URL parameters.
You can customize how your widget appears by adding query parameters to the widget URL:
You can enable a dark theme for your widget by adding the dark
query parameter to the widget URL. This is useful when embedding the widget on pages with a
dark background.
Simply append ?dark
(if it's the first parameter) or &dark
(if other parameters exist) to the URL. Note that ?dark=1
is also valid.
<img src="https://memsched.com/api/widgets/[YOUR_WIDGET_ID]?f=svg&dark" alt="MEMsched Widget">
Adjust the height of the widget image using the height
attribute on the <img>
tag.
<img src="..." height="100">
(Sets height to 100px, default is 80px).Note: Using the HTML attribute is the recommended way to set the widget height.
height
attribute correctly on the <img>
tag. Check for conflicting CSS rules on
your page.height
attribute isn't working, try using inline CSS: style="height: 80px;"
on the <img>
tag. This often overrides conflicting styles.