Shopify themes, liquid, logos, and UX
Hello,
I am looking to make some design changes on a mobile version of a page. There is too much white space between collections and I'd like to decrease it. Any tips?
The URL is https://shop.slckr.us/collections/holiday-gift-kits
You can remove the bottom border from the last 2 products and set the top and bottom padding of the collection section to 50 pixels.
Hi @benpatjohn
Just clarification, the space your referring to is on the homepage? Or in the collection page? This one?
If it is try this one.
@media (max-width: 767px) {
.wide-container.theslck-product {
padding-bottom: 2rem;
}
.wide-container.Shop-Teetwo, .product-list.home-product-list+.product-view-btn {
padding-top: 1rem;
}
}
Note: You can adjust the sizes you prefer.
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
To decrease the padding in your Featured Collection section on the mobile version, you can follow these steps:
Go to Online Store > Themes in your Shopify admin.
Select your theme and click Actions > Edit code.
Under the Assets folder, open base.css, style.css, or theme.css.
@media (max-width: 767px) {
.wide-container.theslck-product {
padding-bottom: 2rem;
}
.wide-container.Shop-Teetwo, .product-list.home-product-list+.product-view-btn {
padding-top: 1rem;
}
}
Let me know if you need further assistance!
Hello @benpatjohn
Go to online store ----> themes ----> actions ----> edit code ----> assets ---->styles.css
add this code at the end of the file and save.
@media (max-width: 480px) {
.section-featured-collection .wide-container.theslck-product {
padding-top: 3svh;
padding-bottom: 0rem;
}
}
Thanks
Hey there!
If you’re looking to reduce the white space between featured collections on mobile, here’s how you can adjust the padding:
Option 1: Manual CSS Adjustments
@media screen and (max-width: 768px) {
.wide-container.Shop-Teetwo { /* Adjust this selector based on your theme's structure */
padding-top: 0px; /* Decrease top padding */
}
}
Option 2: Use EasyEdits for Simple Spacing Control
If you’d rather not mess with code, EasyEdits lets you adjust spacing visually. You can reduce padding and margins with a drag-and-drop interface and see the results live. This is super handy for quick tweaks without trial-and-error coding. You can adjust it on a free trial and keep your edits, without paying anything.
Let me know how it works for you! Disclaimer: I’m the developer of EasyEdits, so feel free to reach out if you’d like to give it a try. 😊
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024