simx Posted September 19, 2018 Share Posted September 19, 2018 Hi all, Please could someone advise me how to complete the above mentioned task? I have searched the community and found that it could be acheived via css but I edit the file (style.css) and nothing happens. The tab I would like to remove / hide is 'Quotes' and really I'd like to add 'Log' with the rest. I am running Version: 7.6.1 Any advise is greatly appreciated. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted September 19, 2018 Share Posted September 19, 2018 3 hours ago, simx said: I have searched the community and found that it could be acheived via css but I edit the file (style.css) and nothing happens. you might be referring to this post of mine... the idea of editing the css would still work in v7.6.1, but style.css is no longer used and therefore you'd need to edit another css file (all.min.css). but as I mentioned at the end of that post, you could also use a hook to add the css directly to the page... <?php add_hook('AdminAreaHeadOutput', 1, function($vars) { return <<<HTML <style>#clientTab-8 { display: none;}</style> HTML; }); 0 Quote Link to comment Share on other sites More sharing options...
simx Posted September 19, 2018 Author Share Posted September 19, 2018 Thanks @brian! I will try that out and let you know how I get on. 0 Quote Link to comment Share on other sites More sharing options...
simx Posted September 21, 2018 Author Share Posted September 21, 2018 It worked perfectly, thanks again! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.