Compact and Expanded Menu: CSS 'Position' attribute

tom Apr 14, 2012 07:58PM EDT

Is it possible to adjust the 'Position' of the Compact and Expaneded Menus to be 'Fixed' instead of 'Absolute'? I have tried expecting the generated elements in order to gain their IDs and apply my own styles but have not had any success.

I am using the Add This Toolbox in the fixed footer of my horizontally scrolling website. However, the Compact and Expanded menus are positioned absolutely, so not within the displayed area when the viewport is scrolled away from the home position.

See: http://www.junkyardchoir.com/JYC3/index.html

Many thanks
Tom

Up 1 Rated Down
tom Apr 15, 2012 05:56AM EDT
Managed to solve this by playing the following CSS after the last section of AddThis JavaScript in the html page:

<style type="text/css">
#at20mc {
position:fixed!important;
position:fixed;
}
</style>

I think #at20mc is the containing element for all the menus that pop-up. The above worked in Chrome and FF when placed in my main linked style sheet, but had to place it in the html for IE8.

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)

Still need help?


General Topics

 

Developers