Hello guys,
Can anyone help me remove the padding/margin from above sections on my home page please? Don’t want such a white gap.
thanks in advance!
Hello guys,
Can anyone help me remove the padding/margin from above sections on my home page please? Don’t want such a white gap.
thanks in advance!
Hi @Tommyboi ,
Go to Online Store, then Theme, and select Edit Code.
Search for base.css/theme.css/style.css file Add the provided code at the end of the file.
@media only screen and (min-width: 769px) {
.index-section {
margin: 20px 0 !important;
}
}
thank you! Is there a way to just do this for specific sections?
Sure! Please share a screenshot of the section where you want to remove the padding.
Hi @Tommyboi ,
Go to Online Store, then Theme, and select Edit Code.
Search for base.css/theme.css/style.css file Add the provided code at the end of the file.
.promo-grid--space-bottom {
padding-bottom: 0px !important;
}
@media (max-width: 768px){
.product-block.product-block--sales-point {
display: flex !important;
padding: 0px !important;
margin: 5px 31% !important;
white-space: nowrap !important;
}
ul.sales-points {
padding: 0px !important;
margin: 12px 0px !important;
}
}
Search for base.css/theme.css/style.css file Add the provided code at the end of the file.- how do i find this in edit code section please?
Go to Online Store, then Theme, and select Edit Code.
Search for base.css/theme.css/style.css file Add the provided code at the end of the file.
.promo-grid--space-bottom {
padding-bottom: 0px !important;
}
@media (max-width: 768px){
.product-block.product-block--sales-point {
display: flex !important;
padding: 0px !important;
margin: 5px 31% !important;
white-space: nowrap !important;
}
ul.sales-points {
padding: 0px !important;
margin: 12px 0px !important;
}
}
.product-block.product-block--price,
div[data-dynamic-variants-enabled],
.product-block.product-block--header {
margin-bottom: 5px !important;
}
where do i find the base.css please?
To find the CSS file in the ‘Edit Code’ section, follow these steps:
Yes
Please mark the solution.
can you help me with this last bit please? ![]()
Please remove this code
.product-block.product-block--sales-point {
display: flex !important;
padding: 0px !important;
margin: 5px 31% !important;
white-space: nowrap !important;
}
.product-block.product-block--price,
div[data-dynamic-variants-enabled],
.product-block.product-block--header {
margin-bottom: 5px !important;
}
replace with
div[data-dynamic-variants-enabled] {
margin-bottom: 15px !important;
}
.product-block.product-block--price, .product-block.product-block--header {
margin-bottom: 5px !important;
}
@media (max-width: 768px) {
.product-block.product-block--sales-point {
display: flex !important;
padding: 0px !important;
margin: 5px 0% !important;
white-space: nowrap !important;
}
}
Yes, please mark these 2 solutions.
off sitewide
July sale — 45% off at checkout, applied automatically. Valid for 60 minutes. One per customer.
Offer ends in