Does SnapPages support custom code?
SnapPages has built-in features for adding in custom code to your pages such as the Code Block and Code Injection. However adding code to your site is an advanced modification that falls outside of the scope of SnapPages support and will be best handled by the developer of the code.
While we can't help you troubleshoot or provide specific directions for custom code modifications, below are some resources that can help point you in the right direction.
What type of code can I add to my site?
Server-side code is code that is handled by a server, not by a browser and this is code that is not supported. This includes: PHP, Ruby, Ruby on Rails, SQL
- HTML - This is the code used to add content to a web page. When you add a Section or a Block, you're adding HTML to your site.
- CSS - This is the code used to add style and design to a website. Our themes have built-in CSS, and all themes, blocks, and sections have style options that allow you to customize your CSS
What changes can I make with code?
If you plan to add custom code, we highly recommend that you have web development knowledge or are working with a 3rd party. We urge you to proceed with caution, and for best results, consult with a developer for help with any of these changes and modifications.
CSS should be used only for changing fonts, colors, and backgrounds. If you decide to apply custom CSS to your site, it should be used sparingly.
You should not use CSS to adjust the layout of your site. By changing characteristics like Padding, Margins, and Positioning you may interfere with the multiple aspects of your theme as well as future improvements to SnapPages. As this is the case these types of changes should all be done natively on our platform.
What are some good external resources for coding?
Here are a few websites we recommend for tutorials, troubleshooting, and reference guides to working with custom code: