Creating a visually appealing online store is essential for attracting and retaining customers. One way to enhance your Shopify store’s aesthetic is by making your collection page images full-width. This tutorial will guide you through the process step-by-step, ensuring a professional and engaging look for your collection pages.
Step 1: Accessing Your Theme’s Code Editor
- Log in to your Shopify admin dashboard.
- Navigate to Online Store > Themes.
- Click on the “Actions” button next to your active theme.
- Select “Edit code”.
Step 2: Locating the Base.css File
- In the code editor, search for the file named “base.css”. Copy the code below and paste it.
.collection-hero--with-image .collection-hero__inner { width:100%; padding:0; max-width:100%; flex-direction:column-reverse; } .collection-hero--with-image { padding:0 !important; } .collection-hero__image-container { margin-left:0 !important; } .collection-hero__image-container img { top:50% !important; transform:translateY(-50%) !important; } @media screen and (min-width:750px) { .collection-hero__image-container { min-height:37rem; } }