Jump to content

Featured Replies

Posted

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!

Add this to your custom CSS file:

.cPost .ipsComment_controls {
    display: none;
}

That should do what you want 🙂

 

  • 3 weeks later...
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>

 

  • 1 month later...
  • Author

thanks @L4D2Noob in custom.css it doesn't let me use it template plug-in '{lang}'

This should hide it without hiding the whole bar.

[data-action='quoteComment'] {
	display: none;
}

 

  • Author

@Morrigan You great! can multiquote be included?

.cMultiQuote {
	display: none;
}

 

  • Author

@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;
}

Should be. Is it not working?

  • Author

@Morrigan no, the multiple quote button do not disappear

Recently Browsing 0

  • No registered users viewing this page.