It is possible to change the Theme of any active SmartFrame at any time. This requires a brief modification of the SmartFrame’s embed code.
To do this, head to your website’s CMS and locate the embed code that corresponds with the SmartFrame whose Theme you would like to adjust. Make sure you are viewing this in the CMS’s HTML or Text editor, rather than the visual editor, before finding the section of code that reads theme=“.
If you already know the name of the Theme you would like to use, simply paste this over the text found after theme=“, making sure to retain the quotation marks that wrap the Theme name.
For example, if your SmartFrame currently employs a Theme called ‘Default’ and you would like to use a Theme you have configured called ‘Presentation’, you should make the following amendment (shown in bold).
Original code
<script async src="https://embed.smartframe.io/7d0b78d6f820c45ae5fcb6734143ff6d.js"></script><smart-frame-embed customer-id="7d0b78d6f830c45ae5fcb6732190af0d" image-id="img3_1690797688189" theme="default" style="width: 100%; display: inline-flex; aspect-ratio: 6106/7587; max-width: 6106px;"></smart-frame-embed><!– https://smartframe.io/embedding-support –>
Amended code
<script async src="https://embed.smartframe.io/7d0b78d6f820c45ae5fcb6734143ff6d.js"></script><smart-frame-embed customer-id="7d0b78d6f830c45ae5fcb6732190af0d" image-id="img3_1690797688189" theme="presentation" style="width: 100%; display: inline-flex; aspect-ratio: 6106/7587; max-width: 6106px;"></smart-frame-embed><!– https://smartframe.io/embedding-support –>
Make sure to save your page once you have finished editing it.
If you do not know the name of the Theme you would like to use, head to your SmartFrame Admin Panel account, click on any image and select Embed from the left-hand-side menu. Now select the Theme you would like to use from the drop-down menu and make a note of the name that appears after theme=“ in the embed code.
Changing Themes with offsite embeds
The above process requires you to have access to the CMS of the website on which the SmartFrame image resides. This will typically be an onsite embed – in other words, a SmartFrame embed on a site you administer.
If you need to change the Theme on a SmartFrame that has originated from your account but that has been embedded on a site you do not administer – otherwise known as an offsite embed – you will need to contact the website operator of that site.
Changing Themes when using the SmartFrame Web Component
The same workflow can be used to change the theme for SmartFrames that have been installed using SmartFrame Web Component.