Collection banner too much space

Topic summary

Problem: The collection banner on the store’s collection pages is too tall, especially on mobile where products aren’t visible above the fold; desktop could also be slightly smaller. Screenshots illustrate the issue on both devices.

Recent updates: A request was made to share the store URL for easier diagnosis; the store URL was provided (pool-care.be). Two solutions were proposed:

  • theme.liquid approach: Add custom code above the closing tag (theme.liquid is the main layout file in Shopify). A result screenshot suggests a reduced banner on mobile, but the actual code snippet is not visible in the thread.
  • CSS approach: Edit the main CSS file (main.css/base.css/style.css/theme.css) and reduce .page-title padding to 3rem, with a mobile media query (max-width: 749px) to 2rem. Result screenshots show a smaller banner.

Notes: Effectiveness may depend on the theme’s selectors; ensuring the correct class (.page-title) matches the theme is key. Images are central to understanding both the problem and outcome.

Status: No confirmation yet that either fix was implemented or resolved the mobile above-the-fold issue; discussion remains open pending testing on the provided URL.

Summarized with AI on December 17. AI used: gpt-5.

Hi @pool-care

check this one.

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

.page-title {
    padding: 3rem 0;
}
@media only screen and (max-width: 749px){
.page-title {
    padding: 2rem 0;
}
}

And Save.

Result:

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