Title: Widget Code Changing Blog Layout
Last modified: August 19, 2016

---

# Widget Code Changing Blog Layout

 *  [rachelanna25](https://wordpress.org/support/users/rachelanna25/)
 * (@rachelanna25)
 * [15 years ago](https://wordpress.org/support/topic/widget-code-changing-blog-layout/)
 * I am trying to insert the following code into my sidebar and when I do, the main
   content frame in my blog moves to the lower right corner of my screen – the widget
   shows up just fine on the sidebar but for some reason it’s messing with my primary
   content both on the home page and within each post.
 * Here’s the code:
 * _[please use a [Pastebin](http://pastebin.com/) to post large chunks of code,
   [following forum etiquette](http://codex.wordpress.org/Forum_Welcome#Posting_Code)]_
 * Andy ideas?

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years ago](https://wordpress.org/support/topic/widget-code-changing-blog-layout/#post-2074651)
 * can you post a link to your site?
 * does the page’s html code validate?
    [http://validator.w3.org/](http://validator.w3.org/)
 *  Thread Starter [rachelanna25](https://wordpress.org/support/users/rachelanna25/)
 * (@rachelanna25)
 * [15 years ago](https://wordpress.org/support/topic/widget-code-changing-blog-layout/#post-2074655)
 * Sorry typo – I meant *any ideas – thanks!
 *  Thread Starter [rachelanna25](https://wordpress.org/support/users/rachelanna25/)
 * (@rachelanna25)
 * [15 years ago](https://wordpress.org/support/topic/widget-code-changing-blog-layout/#post-2074672)
 * Yes I can post a link on my site. I’m not sure what area of the code I need to
   validate – it’s a huge chunk of code as it’s in an iframe container…the site 
   and everything is legit and it works totally fine when it’s uploaded on my site
   but it’s just affecting my main content which makes no sense to me as I’m uploading
   the widget to the sidebar which isn’t even part of the code for the main content
   page
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years ago](https://wordpress.org/support/topic/widget-code-changing-blog-layout/#post-2074683)
 * > Yes I can post a link on my site.
 * my question was kind of rhetorical – i.e. actually not really a question, more
   a request.
 * being able to see the problem is the only way to be able to make any comments
   on its cause.
 * it should be ok, if you enter the same link, that you might post here, into the
   validator.

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

The topic ‘Widget Code Changing Blog Layout’ is closed to new replies.

## Tags

 * [blog format](https://wordpress.org/support/topic-tag/blog-format/)
 * [code issue](https://wordpress.org/support/topic-tag/code-issue/)
 * [widget](https://wordpress.org/support/topic-tag/widget/)
 * [widget problem](https://wordpress.org/support/topic-tag/widget-problem/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [Michael](https://wordpress.org/support/users/alchymyth/)
 * Last activity: [15 years ago](https://wordpress.org/support/topic/widget-code-changing-blog-layout/#post-2074683)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
