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
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
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