Shopify themes, liquid, logos, and UX
I want to remove padding and margins but only on the collection list on my home page. I can do it pretty easily on inspect element. But I've been looking in assets for around 2 hours and I can't find where to edit the CSS. I'm using the Brooklyn theme. https://www.youtube.com/watch?v=KGhRPtNJ3ZU
Solved! Go to the solution
This is an accepted solution.
hello @jordontricks
please Go to Online Store->Theme->Edit code then go to assets/theme.css ->paste below code at the bottom of the file.
@media screen and (max-width: 768px){
#shopify-section-16266671911705cb0b .wrapper {
padding: 0 !important;
}
#shopify-section-16266671911705cb0b {
margin-top: 0 !important;
}
}
Please share your store URL.
hello @jordontricks
Please provide website url and if your store is password protected then also provide password So I will check and provide a solution here.
Hi!
provada-jewelry.myshopify.com
the password is "staysk"
hello @jordontricks
please share screenshot which section do you want to remove space
This top margin and padding on the home page
hello @jordontricks
please Go to Online Store->Theme->Edit code then go to assets/theme.css ->paste below code at the bottom of the file.
#shopify-section-16266671911705cb0b{
margin-top: 20px !important;
}
.hero[data-adapt=false], .hero[data-adapt=false] .slideshow__overlay:before {
height: auto;
}
that made my mobile view look like this:
I mainly want my mobile view to look like this:
This is an accepted solution.
hello @jordontricks
please Go to Online Store->Theme->Edit code then go to assets/theme.css ->paste below code at the bottom of the file.
@media screen and (max-width: 768px){
#shopify-section-16266671911705cb0b .wrapper {
padding: 0 !important;
}
#shopify-section-16266671911705cb0b {
margin-top: 0 !important;
}
}
Please add the following code at the bottom of your assets/theme.scss.liquid file.
@media screen and (max-width: 768px){
div#shopify-section-16266671911705cb0b .wrapper {
padding: 0px !important;
}
div#shopify-section-16266671911705cb0b {
margin-top: 0px !important;
}
}
Hope this works.
Thanks!
Hi!
provada-jewelry.myshopify.com
the password is "staysk"
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024