function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Yash Kumar GuptaYash Kumar Gupta 

Hide standard button from report in community

Hi All,
I have added standard report in the community and I have try to add CSS but I am not able hide it because that report is under <iframe> tag. Is there any workaround or solution to hide these button from standard report ?
User-added image
SwethaSwetha (Salesforce Developers) 
HI Yash,
Your ask looks similar to https://salesforce.stackexchange.com/questions/296984/it-is-possible-hide-new-event-button-in-lightning-community. Have you tried the approach mentioned in that post? The idea is to add a CSS rule to the community page that targets the button and hides it.

If this information helps, please mark the answer as best. Thank you
Yash Kumar GuptaYash Kumar Gupta
Hi Swetha,
I have tried the approach mentioned in that post it will not working because that report is under <iframe> tag and you can not apply CSS to HTML that is loaded in an iframe, unless you have control over the page loaded in the iframe due to cross-domain resource restrictions.