Skip to content

🎉 Early Bird Offer: 60% OFF → Custom iFrame Pro | First 500 Users

→ Get LTD (60% OFF)
Custom iFrame
  • Embed 100+ SourcesExpand
    • Embed PDF & Documents
    • Embed Google Sources
    • Embed Audio Sources
    • Embed Social Posts
  • Blog
  • Doc Guides
  • Support
  • FREE vs PRO
  • Download PRO
Custom iFrame

Getting Started with Custom iFrame

  • How to Install Custom iFrame Free Plugin?
  • How to Install & Activate Custom iFrame Pro?
  • How to contact Support for Custom iFrame?
  • How to Set Up Custom iFrame in Elementor?
  • How to Style Custom iFrame Widget in Elementor?
  • How to Get a Refund for Custom iFrame Pro?

Embed Audio in Elementor

  • How to Embed Spotify Audio in Elementor?
  • How to Embed Spotify Playlist in Elementor?
  • How to Embed SoundCloud in Elementor?
  • How To Embed Boomplay Music in Elementor?
  • How To Embed NRK Radio Podcast in Elementor?
  • How to Embed Spreaker Audio in Elementor?

Embed Videos in Elementor

  • How to Embed YouTube Video In Elementor?
  • How to Embed YouTube Shorts in Elementor?
  • How to Embed YouTube Live Stream In Elementor?
  • How To Embed Vimeo Video in Elementor?
  • How to Embed Rumble Video In Elementor?
  • How to Embed Wistia Video in Elementor?
  • How to Embed Dailymotion Video in Elementor?
  • How to Embed Animoto Video in Elementor?
  • How to Embed WordPress Tv video in Elementor?
  • How to Embed TED Video in ELementor?

Embed Social Media Posts

  • How to Embed Instagram Reel in Elementor?
  • How To Embed X Post In Elementor? (formerly Twitter)
  • How to Embed Instagram Post in Elementor?
  • How to Embed LinkedIn Post In Elementor?
  • How to Embed Facebook Post in Elementor?

Embed Google Workspace

  • How to Embed Google Map in Elementor?
  • How to Embed Google Docs in Elementor?
  • How To Embed Google Sheet In Elementor?
  • How to Embed Google Slide in Elementor?
  • How to Embed Google Form in Elementor?

Embed Anything in Elementor

  • How to Embed Another Website In Elementor?
  • How to Embed PDF in Elementor?
  • How to Embed JotForm in Elementor?
  • How to Embed Figma Prototype in Elementor?
  • How to Embed Flourish in Elementor?
  • How to Embed Sketchfab Drawing in Elementor?
  • How to Embed Calendly Event in Elementor?
  • How to Embed GFYcat GIF in Elementor?
View Categories
  • Home
  • Docs
  • Getting Started with Custom iFrame
  • How to Style Custom iFrame Widget in Elementor?

How to Style Custom iFrame Widget in Elementor?

5 min read

Styling your Custom iFrame improves your website’s look and user experience. A well-designed iFrame blends with your site, matches your brand, and enhances readability. Learning to style Custom iFrame helps create a more attractive and seamless design.

Step 1: Add the Custom iFrame Widget

  1. Install and Activate Custom iFrame Plugin
  2. Open your page in Elementor Editor.
  3. Drag and drop the Custom iFrame Widget onto your page.

Step 2: Adjust the iFrame Content

Paste the URL into the Source URL field, and the content will appear on your page. Customize its look with these options:

  • Height: Set a fixed height for your Custom iFrame to control how much space it takes on your webpage. You can set different heights for desktop, tablet, and mobile to ensure the best fit across all devices. Choose a height that maintains content visibility without cutting off important information.
  • Auto Height: Enable Auto Height to let the iFrame adjust automatically based on the content inside. This is useful for embedding dynamic content that changes in size.
  • Show Scrollbars: Turn scrollbars on or off based on your needs. If the embedded content is larger than the iFrame, enabling scrollbars allows users to scroll through the content. Disable scrollbars for a cleaner look if the content fits well.
  • Refresh Interval (Seconds): Set a Refresh Interval to automatically reload the iFrame at a chosen time. This is helpful for displaying live data, news updates, or frequently changing content without requiring users to refresh the page manually.

Step 3: Set up Smart Load

The Smart Load feature helps optimize page performance and improve user experience. It includes the following options:

  • Lazy Load: Enable Lazy Load to load the iFrame content only when it becomes visible on the screen. This reduces initial page load time and improves performance, especially for pages with multiple iFrames.
  • Placeholder Image: Set a Placeholder Image to display before the iFrame content loads. This keeps the page visually appealing while reducing unnecessary loading of off-screen content.

Step 4: Adjust Styling Options

Go to the Style Menu to style Custom iFrame. Use the available options to match it with your website’s design. 

  • Padding: Set padding to control the space inside the Custom iFrame. Adjust padding separately for desktop, tablet, and mobile to ensure proper spacing across all devices. Use this to avoid content looking too crowded or too spaced out.
  • Alignment Options: Choose from Left, Center, or Right alignment to position the Custom iFrame correctly on your page. Center alignment works best for balanced layouts, while left or right alignment may suit side content areas.
  • Container Width: Adjust the Custom iFrame width to fit different screen sizes. Set separate values for desktop, tablet, and mobile to ensure it looks perfect on all devices. A full-width setting works well for immersive content, while a fixed width may be better for structured layouts.

Step 5: Style the Background

There are two types of backgrounds available. Choose one that best suits your website design.

1. Classic Background

If you select Classic, you can customize it using the following options:

  • Color: Pick a solid color manually or use global colors.
  • Image: Upload an image for a more personalized look.
    • Image Resolution: Adjust the quality and size of the background image.
    • Position: Set the image alignment within the background.
    • Attachment: Choose Default, Scroll, or Fixed to control whether the background moves with scrolling.
    • Repeat: Select Default, No-repeat, Repeat, Repeat-X, or Repeat-Y to define how the image tiles.
    • Display Size: Choose Default, Auto, Cover, Contain, or Custom. If you choose Custom, you can manually adjust the width for a perfect fit.
The image is a screenshot of a Elementor editor user interface of Custom iFrame/ It showcases options to style custom iFrame, including settings for background style, color, image resolution, position, attachment type, repeat functionality, and display size. The associated tags suggest it focuses on design elements in the context of text.

2. Gradient Background

If you select Gradient, the following options will be available:

  • Color: Choose the first color manually or select from global colors.
  • Location: Adjust where the first color appears in the gradient.
  • Second Color: Pick an additional color to create a gradient effect.
  • Location: Define where the second color starts blending.
  • Type: Select Linear for a straight gradient or Radial for a circular effect.
  • Angle: Set the direction of the gradient for smooth color transitions.

Use these background options to enhance your Custom iFrame, ensuring it blends seamlessly with your website’s design.

Step 6: Style the Border

Customize the border of your Custom iFrame to match your website’s design. Use the following options:

  • Border Type: Choose from solid, dashed, or dotted styles to define the border’s appearance.
  • Border Width: Adjust the thickness of the border to make it subtle or more prominent.
  • Border Color: Select a custom color manually or use global colors for consistency.
  • Border Radius: Round the edges of the iFrame to create a softer or more modern look.

Experiment with these settings to find the perfect border style that complements your design.

Step 7: Style the Box Shadow

Enhance the look of your Custom iFrame by adding a shadow effect. This helps create depth and makes the iFrame stand out on the page.

  • Color: Choose a shadow color manually or from global colors to match your theme.
  • Horizontal: Adjust the shadow’s position left or right.
  • Vertical: Move the shadow up or down for better placement.
  • Blur: Increase or decrease blur to soften or sharpen the shadow.
  • Spread: Control how far the shadow extends around the iFrame.
  • Position: Choose between an Outline or Inset shadow effect.

Use these settings to create a subtle or bold shadow effect that complements your website’s design.

With the Custom iFrame plugin, you can style and customize embedded content to match your website. Adjust dimensions, borders, backgrounds, and shadows for a seamless look. Use these settings to Style Custom iFrame. And improve user experience and keep your site visually appealing.

How’s your vibe after reading this? —Tap an emoji
Still stuck? How can we help?

How can we help?

How to Set Up Custom iFrame in Elementor?How to Get a Refund for Custom iFrame Pro?
Table of Contents
  • Step 1: Add the Custom iFrame Widget
  • Step 2: Adjust the iFrame Content
  • Step 3: Set up Smart Load
  • Step 4: Adjust Styling Options
  • Step 5: Style the Background
  • Step 6: Style the Border
  • Step 7: Style the Box Shadow
  • About
  • Docs
  • Contact Us
  • Legal

Get Free Resources in your Inbox

© 2025 CoderzStudio | All Rights Reserved.

  • Embed 100+ Sources
    • Embed PDF & Documents
    • Embed Google Sources
    • Embed Audio Sources
    • Embed Social Posts
  • Blog
  • Doc Guides
  • Support
  • FREE vs PRO
  • Download PRO