Step 1: To change product layout in online store, go to online store >> Online store settings.
Step 2: Under Layout settings >> change layout.