sofos Posted January 15, 2021 Share Posted January 15, 2021 Hi friends, how to hide the quote button from posts in 4.5? The purpose is to avoid the tedious quote of entire posts. Thanks for your suggestions! Link to comment Share on other sites More sharing options...
Davyc Posted January 15, 2021 Share Posted January 15, 2021 Add this to your custom CSS file: .cPost .ipsComment_controls { display: none; } That should do what you want 🙂 IP-Gamers and sofos 1 1 Link to comment Share on other sites More sharing options...
IP-Gamers Posted February 1, 2021 Share Posted February 1, 2021 On 1/15/2021 at 10:20 PM, Davyc said: Add this to your custom CSS file: .cPost .ipsComment_controls { display: none; } That should do what you want 🙂 This code will hide absolutely the entire toolbar in the post, and a person needs to cut out one button. It is better to cut the code of the "Quote" button from the template of the post on the forum: <li data-ipsQuote-editor='{$editorName}' data-ipsQuote-target='#comment-{$comment->$idField}' class='ipsJS_show'> <a href='#' data-action='quoteComment' data-ipsQuote-singleQuote>{lang="quote"}</a> </li> sofos 1 Link to comment Share on other sites More sharing options...
sofos Posted March 22, 2021 Author Share Posted March 22, 2021 thanks @L4D2Noob in custom.css it doesn't let me use it template plug-in '{lang}' Link to comment Share on other sites More sharing options...
Morrigan Posted March 22, 2021 Share Posted March 22, 2021 This should hide it without hiding the whole bar. [data-action='quoteComment'] { display: none; } sofos 1 Link to comment Share on other sites More sharing options...
sofos Posted March 22, 2021 Author Share Posted March 22, 2021 @Morrigan You great! can multiquote be included? Link to comment Share on other sites More sharing options...
Morrigan Posted March 22, 2021 Share Posted March 22, 2021 .cMultiQuote { display: none; } sofos 1 Link to comment Share on other sites More sharing options...
sofos Posted March 22, 2021 Author Share Posted March 22, 2021 @Morrigan are you very kind, please can you point me to the overall correct syntax to put in the custom.css? Isn't this it? 😳 [data-action='quoteComment'] { display: none; } .cMultiQuote { display: none; } Link to comment Share on other sites More sharing options...
Morrigan Posted March 22, 2021 Share Posted March 22, 2021 Should be. Is it not working? Link to comment Share on other sites More sharing options...
sofos Posted March 22, 2021 Author Share Posted March 22, 2021 @Morrigan no, the multiple quote button do not disappear Link to comment Share on other sites More sharing options...
Morrigan Posted March 22, 2021 Share Posted March 22, 2021 Change it to this: .cMultiQuote { display: none !important; } Jordan Miller and sofos 1 1 Link to comment Share on other sites More sharing options...
Recommended Posts