Shopify themes, liquid, logos, and UX
Hello, i want the space between image banner to be 10px but still the same space left & right of the screen.
cultureposter.com (password: poster)
Thank You!
@media (min-width: 768px) {
.gallery--with-margins .gallery__item {
margin: 0 0 0 10px !important;
}
}
result:
Thank You, but now there is not enough space left on the screen.
@nxjus here is the update code
@media (min-width: 768px) {
.gallery--with-margins .gallery__item {
margin: 0 0 0 10px !important;
}
.shopify-section.section-gallery .container.container--not-mobile {
padding-left: 50px;
}
}
Hi @nxjus
I am bit confuse, image banner or collection list? This one?
if it is, check this one.
From you Admin page, go to Online Store > Themes
Select the theme you want to edit
Under the Asset folder, open the main.css(base.css, style.css or theme.css)
Then place the code below at the very bottom of the file.
@media (min-width: 768px) {
.gallery--with-margins .gallery__item {
margin: 0 0 10px 10px;
}
}
And Save.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Thank You, but now there is not enough space left on the screen.
if you like to remain the left margin on the 1st collection Check this one.
Replace the code below.
@media (min-width: 768px) {
.gallery--with-margins .gallery__item:not(:first-child) {
margin-left: 10px;
}
}
And Save.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
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