1. PROMO Upgrade to Pro Membership @ $99 / Lifetime & access all our 16+ premium Divi extensions: Divi Block, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Please help with formatting this...

Discussion in 'Free Divi Community Forum' started by BobH, Oct 25, 2019.

  1. BobH

    BobH New Member

    www.bobhatcherweather.com

    See the right hand side sidebar called “Climate Plymouth”. I have this code in a Custom HTML widget and it doesn’t format/fit correctly. Can someone help me fit it correctly?

    <iframe frameborder=”0″ width=”470px” height=”380px” style=”overflow:hidden;” scrolling=”no” src=”https://www.usclimatedata.com/climate-graph.php?id=usnh0190&system=american&title=1″></iframe>

    I’ve played with the width but it doesn’t seem to matter.

    It works well in a regular Divi module.

    PS, I got this code from here https://www.usclimatedata.com/climate-on-your-site.php?id=usnh0190
     
    1. PRO MEMBER PERKS Divi Ultimate Archive Plugin - Tons of elegant premade sidebar styles to choose from for your Divi site:Learn More
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    For iframe, you can't style it with CSS. It's a fixed size, based on the output set on the original site.

    Not quite sure which part you said works well with Divi module, but not widget. Kindly share screenshot on that.