Custom HTML & CSS
Full control over widget appearance.
When to Use
- Templates don't match your brand
- Need specific layout changes
- Want to add icons or images
Access
- Go to Settings → Widget
- Scroll to "Advanced"
- Find HTML and CSS editors
HTML Variables
{{title}}— Fee title{{description}}— Fee description{{price}}— Formatted amount{{checkbox}}— The checkbox input
Example HTML
<div class="tackon-widget">
<div class="tackon-header">
<span class="tackon-icon">🎁</span>
<span class="tackon-title">{{title}}</span>
</div>
<p class="tackon-desc">{{description}}</p>
<label class="tackon-label">
{{checkbox}}
<span>Add for {{price}}</span>
</label>
</div>
Example CSS
.tackon-widget {
border: 1px solid #e5e5e5;
border-radius: 8px;
padding: 16px;
margin: 16px 0;
}
.tackon-header {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 8px;
}
.tackon-title {
font-weight: 600;
}
.tackon-desc {
color: #666;
font-size: 14px;
margin-bottom: 12px;
}
.tackon-label {
display: flex;
align-items: center;
gap: 8px;
cursor: pointer;
}
Tips
- Test on desktop, tablet, mobile
- Use your brand colors
- Keep sufficient contrast
- Always include
{{checkbox}}