Reduce vertical space in Debut theme sitewide

Reduce vertical space in Debut theme sitewide

greens150
Tourist
3 0 1

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!

 

 

 

Replies 4 (4)

Made4uo-Ribe
Shopify Partner
10049 2390 3017

Hi @greens150 

Do you mean make it all wider like this? 

Made4uoRibe_0-1740693402778.png

If it is try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. In the "Assets" folder, click on "base.css, style.css, theme.scss.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

main#MainContent .page-width {
    max-width: 100%;
}

 

  • And Save.

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
greens150
Tourist
3 0 1

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.

Made4uo-Ribe
Shopify Partner
10049 2390 3017

Oh, that is not vertical. It horizontal. 

Like this right?

Made4uoRibe_0-1740695517412.png

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!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
greens150
Tourist
3 0 1

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!