Title: Widget coding issue
Last modified: January 16, 2023

---

# Widget coding issue

 *  Resolved [richards1052](https://wordpress.org/support/users/richards1052/)
 * (@richards1052)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/widget-coding-issue-2/)
 * I just installed a widget with custom URL which displays a form in my sidebar.
   The form code uses an iframe to display it. However, the iframe (or something
   in the code) creates a huge blank space above it in my sidebar.
    `<iframe width
   ="300" height="500" src= "https://www.mightycause.com/forms/tikunolam?embed=donation_widget"
   scrolling="no" marginheight="0" marginwidth="0" frameborder="0" ></iframe>` Homepage
   sidebar screenshot: [https://drive.google.com/file/d/1kirN6U3KkYDn-qX9X3Ji3U3rqPZ7m-lj/view?usp=sharing](https://drive.google.com/file/d/1kirN6U3KkYDn-qX9X3Ji3U3rqPZ7m-lj/view?usp=sharing)
 * Could you look over the code and screenshot and tell me what’s causing the blank
   space and how to fix it. Also, the form itself is very tall and I’d like to reduce
   its size by 25-50% if possible. I’d be grateful for any coding suggestions.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwidget-coding-issue-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Benedikt Ledl](https://wordpress.org/support/users/benniledl/)
 * (@benniledl)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/widget-coding-issue-2/#post-16376749)
 * Hi, please update the screenshots access permissions, we cannot access it without“
   asking for consent”.
    Please make the screenshot public or explain more clearly
   where the blank space is so we can have a look for ourselfes.
 *  Thread Starter [richards1052](https://wordpress.org/support/users/richards1052/)
 * (@richards1052)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/widget-coding-issue-2/#post-16376773)
 * I’m sorry. I thought I had set the document permissions for anyone who had the
   link to be able access the screenshot image.
 * At any rate, I discovered that the settings for the slideshow displaying above
   the form in my sidebar were causing the blank space. I changed the slideshow 
   format and now everything displays fine.

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

The topic ‘Widget coding issue’ is closed to new replies.

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [form](https://wordpress.org/support/topic-tag/form/)
 * [iframe](https://wordpress.org/support/topic-tag/iframe/)
 * [widget](https://wordpress.org/support/topic-tag/widget/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [richards1052](https://wordpress.org/support/users/richards1052/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/widget-coding-issue-2/#post-16376773)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
