Click-to-Enlarge Images Within Articles
Last Updated -
Before we get started, here's an example of this solution in action:
To get started, edit your current default web theme and then switch to the Advanced Themes mode of the editor. On the left side, click into the Page (Article) section. Scroll to the very bottom, and paste in this code.
Once pasted in, you're almost done. At the very bottom of the code, you'll see this line:
Modify this CSS selector so that you're properly selecting each image within your article body. This varies from site to site based on any previous customizations to your support center you've done, so grab a frontend web developer if you need help with this step, or feel free to email into email@example.com and we can help too.
And that's it! Save your changes and click into an article with images to test.