Site - vibovisionboards.myshopify.com
Pw - whauch
How can I reduce the white space between my promotional grid and product sections.
Thanks.
Site - vibovisionboards.myshopify.com
Pw - whauch
How can I reduce the white space between my promotional grid and product sections.
Thanks.
Hello @VIBO which section do you mean? can you attach screenshot ?
Hi Kaza, it’s the two sections in the screenshot above. The promotional grid and the product, both sections are on the home page
Thanks.
@VIBO add this css in assets > theme.css bottom of file
div#shopify-section-template–14597958795316__164945291734a26bb8 {
margin-top: 0;
}
Brilliant, that seems to have worked.
Am I correct in thinking that the alpha-numeric code 14597958795316__164945291734a26bb8 identifies the section that the changes are applied to? If so, is it possible to tell me how I can find these codes so I can implement these changes to other sections in the future?
Thanks,
Jeremy
@VIBO right click on the element / section and click “inspect” on chrome or other browser and find the Div / section ID, for id you have to add hash # before it for class dot .
Example
for id - #shopify-section-template–14597958795316__164945291734a26bb8
for class - .shopify-section-template–14597958795316__164945291734a26bb8
on the right side of inspector tool you will current applied css and you can add live css rule to check if this working then finally open css file and add the css there
#shopify-section-template–14597958795316__164945291734a26bb8 {
margin-top:0;
}
or for class
.shopify-section-template–14597958795316__164945291734a26bb8 {
margin-top:0;
}
Here you can find more https://www.inmotionhosting.com/support/website/google-tools/how-to-edit-css-using-google-chrome-developer-tools/#:~:text=Press%20Ctrl%20%2B%20Shift%20%2B%20i%20for,elements%20to%20modify%20them%20live.
or google “how to use chrome inspector and css”