Shopify themes, liquid, logos, and UX
I'm trying to reduce the vertical spacing, looked up other Q&As, but additions to the assets don't seem to work. Issue is sitewide.
Homepage: www.StThomas-Hotels.com
List page: https://stthomas-hotels.com/pages/st-thomas-hotels
Including other pages with other section types: https://stthomas-hotels.com/pages/st-thomas-beaches
Many thanks in advance!
Hi @greens150
Do you mean make it all wider like this?
If it is try this one.
main#MainContent .page-width {
max-width: 100%;
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Not wider, I'm looking to reduce the space vertically - as an example using the image above - the See Details link is the last line in the section above and Margaritaville and price are the 1st line of the next section. Overall I am using the custom-content.liquid and feature-columns.liquid files for these.
And many thanks, hopefully you or someone can help solve.
Oh, that is not vertical. It horizontal.
Like this right?
TRy this code.
Same Instruction.
@media only screen and (min-width: 750px) {
.index-section {
padding-top: 10px !important;
padding-bottom: 10px !important;
}
}
And Save.
This is only CSS, so there's no need to add it to the Liquid code. You need to add it to the universal CSS file, not just a specific file, so it affects other sections and pages. YOu have file named theme.scss.css under asset folder. paste on the very last } bracket you see.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
The file is actually theme.scss.liquid - so I assume I need to convert that to css first? If so, how? I did try pasting to the end of that .liquid file, but broke the page, so I undid it.
Again, many thanks, and looking forward to this!
Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025