Please follow the below steps to select the sidebar layout for different pages of your website.
- Go to Appearance > Customize > Layout Settings > General Sidebar Layout
- Select the Sidebar Layout for the Pages and Posts, and also the Default Sidebar layout.
- Click on Publish