Z-Index problem and solution
-
plugin v1.0.2
The value for z-index is not being reflected in the <div> code.
(The entered value does re-appear on the option screen as entered, so it is being recorded correctly). Regardless of the value entered, the css always reads “1”
ssb-main.php line #190
$btn_z_index = isset( $this->settings[‘btn_z_index’] ) ? $this->settings[‘btn_z_index’] : 1;Solution: add this to the css for the site theme
#ssb-container {
z-index: 100000 !important;
}NOTE: be sure to add !important or it will not work. The default value of “1” becomes an inline element value and will over-ride the css value. That reasoning is actually correct and would normally work if the value was being picked up correctly.
ALSO NOTE: my particular theme has the z-index value of its header set to 99999, that’s why I chose 100000 above.
- The topic ‘Z-Index problem and solution’ is closed to new replies.