• Resolved Rodney I

    (@rodney-i)


    Hi Shishir

    Thanks for that it is appreciated I now notice another small issue with the plugin on some of my screens. Wordfence being one im looking at now has options at top right corner to save settings button and they are hidden by the toolbar because my toolbar has too many items and doubles up so it takes up 2 rows instead of 1.
    See image at this link: https://www.icloud.com/sharedalbum/#B0eJtdOXmGaeWaW

    are you able to fix this by stopping the toolbar from floating over the page.

    thanks
    Rodney

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Shishir Raj Adhikari

    (@shishiradhikari)

    Hi Rodney,

    Thank you for posting this issue. Let me check and see if I can figure out the best way to overcome this issue. Give me some time, OK! Thanks.

    Regards,
    Shishir

    Plugin Author Shishir Raj Adhikari

    (@shishiradhikari)

    Hi Rodney,

    I checked this issue thoroughly, and found that the Wordfence CSS has hardcoded the style for its “Save Settings” div as top:32px. This means that the issue is actually not because of the w2o plugin. It is just that the w2o top menu when doubles up, it hides the Wordfence “Save Settings” section because of the fixed top position (i.e. 32px) the Wordfence uses for that section.

    Such issue can be caused by other plugins as well if they uses such fixed top position or height.

    Since it’s not the generic problem of W2O plugin, I will not make an adjustment into my W2O plugin. But I will provide a fixes for you. Please add the below code in your theme’s “function.php” to fix this issue.

    The below code will adjust the Wordfence “Save Setting” and will make it visible. Make sure to replace the encoded strings/tags with it’s proper tags. If you need help let me know.

    function custom_wf_css_append() {
    $style = ‘<style type=”text/css”>
    .wf-options-controls {
    top:inherit !important;
    left: 0 !important;
    }
    </style>
    ‘;
    echo $style;
    }
    if ( is_admin() ) {
    add_action(‘admin_head’, ‘custom_wf_css_append’);
    }

    Regards,
    Shishir

    Thread Starter Rodney I

    (@rodney-i)

    Hi Shishir

    I tried to use the script you posted but it broke my site the error message I got was.
    Parse error: syntax error, unexpected ‘type’ (T_STRING) in /home/synerg43/public_html/synergyhypnotherapymelbourne.com.au/wp-content/themes/astra-child/functions.php on line 32

    this is line 32
    $style = ‘<style type=”text/css”>

    Any Ideas what was wrong with the script

    Thanks
    Rodney

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Re: Toolbar hiding plugin options’ is closed to new replies.