sofos Posted January 15, 2021 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!
Davyc Posted January 15, 2021 Posted January 15, 2021 Add this to your custom CSS file: .cPost .ipsComment_controls { display: none; } That should do what you want 🙂 sofos and IP-Gamers 1 1
IP-Gamers Posted February 1, 2021 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
sofos Posted March 22, 2021 Author Posted March 22, 2021 thanks @L4D2Noob in custom.css it doesn't let me use it template plug-in '{lang}'
Morrigan Posted March 22, 2021 Posted March 22, 2021 This should hide it without hiding the whole bar. [data-action='quoteComment'] { display: none; } sofos 1
sofos Posted March 22, 2021 Author Posted March 22, 2021 @Morrigan You great! can multiquote be included?
sofos Posted March 22, 2021 Author 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; }
sofos Posted March 22, 2021 Author Posted March 22, 2021 @Morrigan no, the multiple quote button do not disappear
Morrigan Posted March 22, 2021 Posted March 22, 2021 Change it to this: .cMultiQuote { display: none !important; } sofos and Jordan Miller 1 1
Recommended Posts