How to Add Social Media Buttons to Wix
Learn how to add custom NiftyButtons social media icons to your Wix website using the HTML iframe element. Works with all Wix templates!
📋 What You Need
- Wix Account: Any Wix plan (works on free and paid plans)
- Editor Access: Admin access to edit your Wix site
- Generated Code: NiftyButtons HTML/CSS code from our generator
Good News: Unlike some platforms, Wix allows HTML embeds on all plans, including the free plan!
Step-by-Step Instructions
1. Generate Your Social Media Icons
- Visit the NiftyButtons Generator
- Select your social media platforms
- Enter your social media URLs
- Choose your preferred size, colors, and style
- Click "Generate Buttons"
- Copy the complete HTML/CSS code
2. Access Wix Editor
- Log in to your Wix account
- Go to your website dashboard
- Click "Edit Site" to open the Wix Editor
- Navigate to the page where you want to add icons
3. Add HTML iframe Element
- Click the "Add" button (+ icon) on the left sidebar
- Select "Embed" from the menu
- Choose "HTML iframe"
- Drag and drop the HTML iframe to your desired location
- The iframe element will appear on your page
4. Insert Your NiftyButtons Code
- Click on the HTML iframe element you just added
- Click "Enter Code" in the settings panel
- Delete any placeholder code
- Paste your complete NiftyButtons code
- Click "Update" to apply the code
- Your social media icons should now appear!
5. Adjust Size and Position
- Resize the iframe by dragging the corners
- Position the iframe where you want the icons
- Adjust margins and spacing as needed
- Preview your changes
- Publish your site when satisfied
Best Locations for Social Media Icons
Footer Area (Most Popular):
- Appears on all pages automatically
- Expected location for social media
- Doesn't interfere with main content
- Easy to make site-wide changes
Header Section:
- High visibility placement
- Great for personal brands
- Consider mobile layout carefully
Contact Page:
- Natural place for connection options
- Can use larger icon sizes
- Pair with contact form and information
About Page:
- Perfect for personal/brand storytelling
- Encourage visitors to follow your journey
Sidebar (Blog/Portfolio):
- Consistent visibility across content
- Good for content creators
Sizing and Styling Tips for Wix
Iframe Sizing:
- Make iframe slightly larger than your icons
- Allow extra space for hover effects
- Test on mobile devices for proper scaling
- Consider horizontal vs. vertical icon layouts
Color Coordination:
- Match icons to your Wix template colors
- Use brand colors for consistency
- Test visibility on different backgrounds
- Consider your template's overall design style
Mobile Responsiveness:
- Use medium or large sizes for mobile visibility
- Check mobile editor preview regularly
- Ensure touch-friendly spacing
- Test on actual mobile devices
Integration Tips:
- Align with other page elements
- Maintain consistent spacing
- Use Wix's alignment guides
- Consider visual hierarchy in your layout
Troubleshooting Common Issues
Icons Don't Display:
- Ensure code was pasted completely
- Check that iframe is large enough
- Verify no code was cut off during pasting
- Try refreshing the editor and preview
Icons Look Cut Off:
- Increase iframe width and height
- Allow extra space around icons
- Check for horizontal scrolling within iframe
Links Don't Work:
- Verify your social media URLs are correct
- Ensure URLs include https://
- Test links in a new browser tab
- Check that profiles are public
Mobile Display Issues:
- Use Wix mobile editor to adjust
- Test different icon sizes
- Ensure iframe responsive settings
- Consider mobile-specific placement
Can't Find HTML iframe:
- Look under "Embed" in the Add menu
- Try searching "HTML" in the add elements search
- Update to latest Wix Editor if available
- Clear browser cache and try again
Alternative Methods
Wix's Built-in Social Bar:
- Go to Add → Social → Social Bar
- Limited customization options
- Uses Wix's default styling
- Good for basic social media links
Why Choose NiftyButtons Instead:
- Complete customization control
- Match your exact brand colors
- Choose from multiple styles and sizes
- More professional appearance
- Better mobile responsiveness
Custom Code (Advanced):
For advanced users, you can also add code to site headers/footers through Wix's custom code options, but HTML iframe method is easier and more reliable.
💡 Wix Pro Tips
- Save your NiftyButtons code in a text file for future updates
- Use Wix's "Duplicate Page" feature to copy icon placements
- Preview your site before publishing to check all layouts
- Consider your template's design when choosing icon styles
- Test social media links regularly to ensure they work
- Use consistent placement across all pages for better UX
- Keep icon sets small (3-5 platforms) for better mobile display