• Resolved lukeide

    (@lukeide)


    Hi there,

    I am having trouble displaying the buttons in front of the other elements on the page.

    The z-index seems to keep defaulting to 1.

    I have added the code below to my stylesheet but not luck.
    #ssb-container {
    z-index: 100000 !important;
    }

    Can you please help with this?

    Thanks.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Maeve Lander

    (@enigmaweb)

    Hey @lukeide

    Checked your site and I can see the buttons fine there on the left. Here’s a screenshot: http://nimb.ws/XKbANf

    Maybe… clear your cache?

    Thread Starter lukeide

    (@lukeide)

    Hahah, sorry about that.

    Thanks for your quick response.

    Plugin Author Maeve Lander

    (@enigmaweb)

    No worries, glad you got it sorted. I make that cache mistake constantly myself!

    If you like the plugin and found support helpful the nicest thing you can do for me is leave a review here. Thanks again, and best of luck with your website.

    I have the same problem, and clearing cache is not solving the problem.

    I added a line to write the referenced info to the log and get the following error:
    PHP Notice: Undefined property: ssb_main::$settings in /var/www/clients/client965/web3324/web/wp-content/plugins/sticky-side-buttons/ssb-main.php on line 191

    Lines # 190-191 in ssb-main.php

    $btn_z_index = isset( $this->settings['btn_z_index'] ) ? $this->settings['btn_z_index'] : 1;
    write_log($this->settings['btn_z_index']);
    • This reply was modified 6 years, 6 months ago by RosaKick. Reason: added code and error
    • This reply was modified 6 years, 6 months ago by RosaKick.

    FIXED by adding the following to ssb-main.php after “$this->ui = new ssb_ui;”

    // Pull stored data
    $this->settings = get_option( 'ssb_settings' );
    Plugin Author Maeve Lander

    (@enigmaweb)

    Thanks @rosakick
    Updated in the plugin.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘z-index being overwritten’ is closed to new replies.