How to remove "Sync" button from the SharePoint 2013 publishing site which is showing into the ribbon.
I know this can be done by adding a javascript and adding css property display to NONE for that element, but is it possible by directing editing "seattle.master" page via server side code like <SharePoint:SPSyncPromotedActionButton runat="server"
Visible="false"/> ?
It does work for the teamsite template, but publishing side master page "seattle.master" does not allow this as it is link to html version of it and html file is just a place holder for ribbon, np seperate code for SPSyncPromotedActionButton control.
Any help will be really appricated. Thanks.