I looked at your directions when you help others with display issues, and I discovered that I do not have a sidebar.php. The theme I am using has multiple sidebar files already. I would like to define new ones where my current sidebar-right.php is updating.
If I replace the code in my sidebar-right.php file with your code, my footer seems to break on my pages where this sidebar area exists.
I noticed that the instructions also say to place the your php code in between divs… right now my sidebar-right.php has the following code