Only in pages on right side bar, instead of recent posts, i need to display some different widgets. However, i need to retain the recent posts in all the posts. Is it possible to edit only the right section for pages?
Yes it is possible to hide Recent Posts Widgets on pages only. Please go to ‘Appearance > Customize > Additional CSS’ and paste the below Custom CSS code.