Want my product pics to bleed to the edge

Topic summary

A user seeks help making product images extend edge-to-edge on their Shopify store, similar to an inspiration example.

Initial Solution:

  • EBOOST provides CSS code to add to base.css that removes borders, adjusts layout, and makes product images full-width on desktop (min-width: 990px)
  • Additional CSS removes white boxes around products on mobile

Footer Formatting Issue:

  • User requests help displaying the footer on a single line for mobile displays
  • EBOOST provides responsive CSS using flex-flow: row and overflow-x: scroll for mobile viewports (max-width: 768px)
  • Multiple iterations address issues on specific pages (home, subscribe)

Banner Image Adjustments:

  • User wants banner images to fill the entire page height on mobile
  • EBOOST adds CSS targeting specific banner sections with min-height: calc(100vh - 40px)
  • Code ensures footer stays at bottom using margin-top: auto

Current Status:

  • The discussion remains ongoing
  • User reports the problem has returned and wants the banner image to take the whole page with footer on one line at bottom for mobile
  • Screenshots are referenced throughout showing the issues and desired layout
Summarized with AI on November 10. AI used: claude-sonnet-4-5-20250929.

Hey guys, could you help with making my product page similar too mine: https://ed700c-8f.myshopify.com/products/bler-riot-sunfaded-embroidered-vintage-dickies-t-shirt

password is: yautwu

inspo: https://www.phoebephilo.com/en_gb/shrunk-bomber-black-leather

1 Like

May I suggest to update code these steps:

  1. Go to Store Online-> theme → edit code
  2. Assets/base.css
  3. Add code below to end of file
@media screen and (min-width: 990px) {
    [id^="MainProduct-template"] .product {
        border: none;
        display: flex;
        flex-flow: column-reverse;
        margin-top: -111px;
    }
    [id^="MainProduct-template"]  .product--large:not(.product--no-media) .product__media-wrapper {
        max-width: none;
        width: 100%;
    }
    [id^="MainProduct-template"]  .product--right .product__media-list {
        display: flex;
          flex-flow: wrap;
    }
    [id^="MainProduct-template"]  .product--stacked .product__media-item {
        width: 50% !important;
    }
    [id^="MainProduct-template"]  .product--large:not(.product--no-media).product--right .product__info-wrapper {
        margin: 0 auto;
        padding: 4rem 0;
    }
    [id^="MainProduct-template"]  .product-form__buttons {
        max-width: none;
    }
}

1 Like

wow that looks exactly how I want if I add more pictures will they fill the bottom of the screen?

Hi I tried ot, but it ended up looking like this: https://bt6lqbvnzlx9m77b-74826613002.shopifypreview.com

Hi,

Yes, It will. You can update code below to full width

@media screen and (min-width: 990px) {
    [id^="MainProduct-template"] .product {
        border: none;
        display: flex;
        flex-flow: column-reverse;
        margin-top: -100px;
        padding: 0;
    }
    [id^="MainProduct-template"]  .product--large:not(.product--no-media) .product__media-wrapper {
        max-width: none;
        width: 100%;
    }
    [id^="MainProduct-template"]  .product--right .product__media-list {
        display: flex;
          flex-flow: wrap;
    }
    [id^="MainProduct-template"]  .product--stacked .product__media-item {
        width: 50% !important;
    }
    [id^="MainProduct-template"]  .product--large:not(.product--no-media).product--right .product__info-wrapper {
        margin: 0 auto;
        padding: 4rem 0;
    }
    [id^="MainProduct-template"]  .product-form__buttons {
        max-width: none;
    }
}
1 Like

Hi it worked, but on mobile it still has a white box around the product (https://bt6lqbvnzlx9m77b-74826613002.shopifypreview.com), can you help with this?

Hi,

You can add code below to end of file to remove white box:

[id^="MainProduct-template"] .product { border: none;}
[id^="MainProduct-template"] .product-form__buttons {
    max-width: none;
}

perfect, thanks again. I’m asking for a lot here but I was wondering if you can help me with displaying the footer all on 1 line on mobile displays, the issue is really prevalent on the home screen (https://bt6lqbvnzlx9m77b-74826613002.shopifypreview.com)

Hi,

You can add code below to end of file

@media(max-width: 768px){
	footer.footer {
		flex-flow: row;
		align-items: center;
		padding: 0 10px;
	}
	footer.footer .copyright {
		white-space: nowrap;
		margin-top: 0;
	}
	footer.footer .footer-menu li {
		margin-right: 0;
	}
	footer.footer .footer-menu {
		gap: 10px;
	}
}
@media(max-width: 480px){
	footer.footer {
		max-width: 100%;
    	overflow-x: scroll;
	}
	footer.footer .footer-menu {
		gap: 5px;
	}
	footer.footer, footer .copyright {
		font-size: 10px;
	}
}
1 Like

It works everywhere except the ‘subscribe’ page (https://bt6lqbvnzlx9m77b-74826613002.shopifypreview.com) both on mobile and desktop it previews as 2 lines

it’s just gone back to normal (https://bw51kpyy7tzfsipm-74826613002.shopifypreview.com) if you use the inspect right click you’ll be able to see

Hi,

You can try to code below?

@media(max-width: 768px){
	footer.footer {
		flex-flow: row;
		align-items: center;
		padding: 0 10px;
		margin-top: auto;
	}
	footer.footer .copyright {
		white-space: nowrap;
		margin-top: 0;
		font-size: 10px;
	}
	footer.footer .footer-menu li {
		margin-right: 0;
	}
	footer.footer .footer-menu {
		gap: 10px;
	}
	footer.footer, footer .copyright {
		font-size: 10px;
	}
}
@media(max-width: 480px){
	footer.footer {
		max-width: 100%;
    	overflow-x: scroll;

	}
	footer.footer .footer-menu {
		gap: 5px;
	}
	footer.footer, footer .copyright {
		font-size: 9px;
	}
}

Hi, it’s fine on that page it’s the home page that’s the issue. I just tried the new code you sent and now it looks like this: https://bw51kpyy7tzfsipm-74826613002.shopifypreview.com

and on the desktop version of the ‘subscribe’ page it looks like this:

Hi,

Which wrong? Code above only support mobile.

I want the banner image to take the whole page on mobile and then the footer at the bottom. At the moment it looks like this:

Hi,

You need add code below to image show full height. Because your image dimension.

@media(max-width: 768px){
	#shopify-section-template--19623466008842__image_banner_bAJPth .banner__content {
		min-height: calc(100vh - 40px);
	}
	
}
1 Like

Works, thank you! Could you help me so the footer is at the bottom of this page on 1 line too please (https://bw51kpyy7tzfsipm-74826613002.shopifypreview.com)

Yes. You can add code below:

footer.footer {
	margin-top: auto;
}
1 Like

Thank you this worked, can you help make the picture bleed to the top of the page at the moment there’s a black bar at the top (https://bw51kpyy7tzfsipm-74826613002.shopifypreview.com)