Banner breaks on smaller screens

Solved

Banner breaks on smaller screens

Daniel19901
Shopify Partner
292 2 82

Hi, I edited my main hero banner on my 1920*1080, and it look good, but now when I open the store on a smaller screen size it looks completely broken. Can anyone help me fix this ?https://aaba5d-52.myshopify.com/

Daniel19901_0-1722260767377.png

Daniel19901_1-1722260823472.png

 

 

Accepted Solution (1)

Sheesh_b
Shopify Partner
523 116 120

This is an accepted solution.

Hi @Daniel19901 

You can add the below css in theme.liquid just before </head>

<style>
@media screen and (min-width: 1025px){
.t4s-hero-image .t4s-hero-inner .t4s-content-wrap.t4s-bg-cl-wrap {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	height: auto;
}
.t4s-hero-inner .t4s-content-position.t4s-container {
	position: relative;
}
}
</style>

 

Let me know if that help.

 

Thanks

Sheesh B

We're here to simplify website creation for those looking to establish a strong online presence. Book a meeting slot if you want to discuss. It's FREE. BOOK NOW | Try Shopify for $1 for 3 Months: Shopify Trial | Shopify Web Store Developer |
LIKE or mark as ACCEPTED SOLUTION

View solution in original post

Reply 1 (1)

Sheesh_b
Shopify Partner
523 116 120

This is an accepted solution.

Hi @Daniel19901 

You can add the below css in theme.liquid just before </head>

<style>
@media screen and (min-width: 1025px){
.t4s-hero-image .t4s-hero-inner .t4s-content-wrap.t4s-bg-cl-wrap {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	height: auto;
}
.t4s-hero-inner .t4s-content-position.t4s-container {
	position: relative;
}
}
</style>

 

Let me know if that help.

 

Thanks

Sheesh B

We're here to simplify website creation for those looking to establish a strong online presence. Book a meeting slot if you want to discuss. It's FREE. BOOK NOW | Try Shopify for $1 for 3 Months: Shopify Trial | Shopify Web Store Developer |
LIKE or mark as ACCEPTED SOLUTION