Hi, can anyone help me add more gap between these items on the homepage for desktop ? I don’t have the option in the settings and they are a bit too close to each other
Password: daumas
A user seeks help adding more spacing between homepage icons on desktop, as theme settings don’t provide this option.
Two CSS solutions proposed:
Method 1 (Moeed): Add custom CSS via theme.liquid file by inserting code above the </body> tag
Method 2 (Rahul_dhiman): Add CSS directly to theme.css file using a media query targeting screens 768px and wider:
.float-grid.grid--stacked.grid--uniform classdisplay: flex, gap: 4.5rem, and padding-left: 3rem!important flags to override existing stylesBoth solutions involve editing theme code files. The second method includes specific CSS properties and a visual result screenshot. Status: Solutions provided, awaiting user confirmation of which approach worked.
Hi, can anyone help me add more gap between these items on the homepage for desktop ? I don’t have the option in the settings and they are a bit too close to each other
Password: daumas
Hey @Daniel19901
Follow these Steps:
Go to Online Store
Edit Code
Find theme.liquid file
Add the following code in the bottom of the file above tag
RESULT:
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
HEllo @Daniel19901
Go to online store ----> themes ----> actions ----> edit code ---->theme.css
add this code at the end of the file and save.
@media screen and (min-width: 768px) {
.float-grid.grid--stacked.grid--uniform {
display: flex;
gap: 4.5rem !important;
padding-left: 3rem !important;
}
}
result
If this was helpful, hit the like button and accept the solution.
Thanks