Seeking help to resolve an issue I'm facing. Maybe someone out there has a solution?
The layout consists of a content area on the left (default width=70%) and a menu area on the right (default width=30%).
When scrolling down, the content area expands to 100% width and the menu disappears:
.down .widget-area{
width: 0;
}
.down .container{
width: 100%;
}
This works well. However, at the top of the page, there are links to various anchors:
<a href="#header1">GoTo Header 1</a>
<a href="#header2">GoTo Header 2</a>
<a href="#header3">GoTo Header 3</a>
Clicking "GoTo Header 1" link functions correctly. But clicking "GoTo Header 2" leads to misplacement (below the header title) due to the script altering the content area width.
For reference: http://jsfiddle.net/7uouhs6y
If you have any insights or ideas, please share!