Custom Widget (HTML Widget)
Last updated
Last updated
The Reporter supports adding custom HTML Widget. That custom widget will show up inside sidebar on Posts with sidebar pages.
Go to Settings > Design & branding from the admin menu and click Customize
Click Site-wide in the Design settings sidebar on the right
Find HTML WIDGET text input
Paste HTML code, prepared for your widget and click Save
To add CSS-styles, go to Settings > Code Injection
Paste your CSS code inside Site header text input (Your CSS code should be inside HTML tag <style></style>)
To add JavaScript code, go to Settings > Code Injection
Paste your JavaScript code inside Site footer text input (Your JavaScript code should be inside HTML tag <script></script>)
To add "sticky" effect to this widget (so It will stick to the screen when you will scroll page down) you can take this CSS and Javascript code: