Jump to content

Recommended Posts

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!

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

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...