Title: extra space below widget
Last modified: October 19, 2019

---

# extra space below widget

 *  Resolved [Lenny Cohen](https://wordpress.org/support/users/feedbaylenny/)
 * (@feedbaylenny)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/extra-space-below-widget/)
 * Hi! I wish I knew how to show you a screengrab of what I’m referring to, but 
   it’s on the right side of the URL listed above, near the top.
 * I used widgets for the welcome and the date, and also for the current weather.
 * The code should be
    `<iframe src="http://free.timeanddate.com/clock/i6zjyyzp/
   n198/fn6/fs16/fc9ff/tc000/ftb/bas2/bat1/bacfff/pa8/th2/ta1" frameborder="0" width
   ="144" height="39"></iframe>`
 * Now, notice the large amount of space between the clock and lead-in to live weather.
   
   It’s not the worst thing in the world, but is there a way to fix it? Thank you!
   Lenny
    -  This topic was modified 6 years, 6 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
    -  This topic was modified 6 years, 6 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
      Reason: Moved to Fixing WordPress, this is not a Requests and Feedback topic
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fextra-space-below-widget%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [Lenny Cohen](https://wordpress.org/support/users/feedbaylenny/)
 * (@feedbaylenny)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/extra-space-below-widget/#post-12046080)
 * FYI, in case this helps (and I tried several things), I ended up putting the 
   first few items on the right-side widget space with one single widget: Text.
 * The title to the Text widget is the welcome part.
 * After that, in the actual space, is the WordPress shortcut for date with a period
   after.
    ([current_date format=’l, F j, Y’].)
 * Finally, I went to the next line and pasted the HTML: <iframe src=”[https://freesecure.timeanddate.com/clock/i6zckzv9/n198/fn6/fs20/fc9ff/tc000/pcff9/ftb/bas2/bat1/bacfff/pa8/th2/ta1&#8243](https://freesecure.timeanddate.com/clock/i6zckzv9/n198/fn6/fs20/fc9ff/tc000/pcff9/ftb/bas2/bat1/bacfff/pa8/th2/ta1&#8243);
   width=”175″ height=”45″ frameborder=”0″></iframe>
 * The weather uses a second widget: Custom HTML. Its title is “And at this second…,”
   followed by HTML in the actual box.
 * I tried everything I could, but nothing I could think of would make that space
   go away.
 *  [mark l chaves](https://wordpress.org/support/users/mlchaves/)
 * (@mlchaves)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/extra-space-below-widget/#post-12046251)
 * Hi,
 * When I inspect your page, I see this code.
 *     ```
       <iframe 
           src="https://freesecure.timeanddate.com/clock/i6zckzv9/n198/fn6/fs20/fc9ff/tc000/pcff9/ftb/bas2/bat1/bacfff/pa8/th2/ta1" 
           frameborder="0">
       </iframe>
       ```
   
 * Meaning that the code you paste above (you should use the code button to display
   properly) doesn’t match what’s on your page. Maybe you’re **not saving** it?
 * I’m pretty sure all you need to do is add a `height` to the `iframe`. Try 45.
 *     ```
       <iframe 
           src="https://freesecure.timeanddate.com/clock/i6zckzv9/n198/fn6/fs20/fc9ff/tc000/pcff9/ftb/bas2/bat1/bacfff/pa8/th2/ta1" 
           height="45" 
           frameborder="0">
       </iframe>
       ```
   
    -  This reply was modified 6 years, 6 months ago by [mark l chaves](https://wordpress.org/support/users/mlchaves/).
      Reason: Formatted code snippets
    -  This reply was modified 6 years, 6 months ago by [mark l chaves](https://wordpress.org/support/users/mlchaves/).
      Reason: Typo
 *  Thread Starter [Lenny Cohen](https://wordpress.org/support/users/feedbaylenny/)
 * (@feedbaylenny)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/extra-space-below-widget/#post-12048175)
 * Wow! You got me thinking and I figured it out. (You were exactly right about 
   the height being 45!)
 * The dimensions were always there. I thought about doubling the height, to see
   if the frame would go longer and if so, make the text larger as well to fill 
   the space.
 * That didn’t work, so I thought about using the date in the graphic along with
   the time, rather than WordPress’ shortcut I’d been using.
 * Then, I changed the text widget to html and it worked! (I don’t know why, but
   it did.)
 * THANK YOU for loooking into this for me. I really appreciate it!!
 * Lenny

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘extra space below widget’ is closed to new replies.

## Tags

 * [height](https://wordpress.org/support/topic-tag/height/)
 * [html](https://wordpress.org/support/topic-tag/html/)
 * [text](https://wordpress.org/support/topic-tag/text/)
 * [widget](https://wordpress.org/support/topic-tag/widget/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Lenny Cohen](https://wordpress.org/support/users/feedbaylenny/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/extra-space-below-widget/#post-12048175)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
