Jump to content

Community

How to hide Quote button in 4.5?


sofos
 Share

Recommended Posts

  • 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>

 

Link to comment
Share on other sites

  • 1 month later...

@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

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy