How can I resize my mobile banner for optimal viewing?

How can I resize my mobile banner for optimal viewing?

ImaniManyfield1
Shopify Partner
15 0 3

Hi, I am editing a store and I need help with resizing my mobile banner. On the computer it looks fine but when you view it in mobile version the words don't fit on the banner. 

 

Replies 11 (11)

kazi
Shopify Partner
716 100 126

Hello @ImaniManyfield1 Can you share the store URL? thanks

▶️ If you need more help with your Shopify store
Speed Optimization | Theme Customization ? ☎️ WhatsApp ✉️Email Skype: kof.bd

ImaniManyfield1
Shopify Partner
15 0 3
kazi
Shopify Partner
716 100 126

@ImaniManyfield1 do you mean top banner? 

▶️ If you need more help with your Shopify store
Speed Optimization | Theme Customization ? ☎️ WhatsApp ✉️Email Skype: kof.bd

ImaniManyfield1
Shopify Partner
15 0 3
No the banner that says handmade candles
kazi
Shopify Partner
716 100 126

@ImaniManyfield1 set the image as background remove all css from the text box and add padding top/bottom text align center

▶️ If you need more help with your Shopify store
Speed Optimization | Theme Customization ? ☎️ WhatsApp ✉️Email Skype: kof.bd

ImaniManyfield1
Shopify Partner
15 0 3
This theme doesn't allow me to do top padding. I have the image as background already
kazi
Shopify Partner
716 100 126

Its not set as background its as seperate block before the text

▶️ If you need more help with your Shopify store
Speed Optimization | Theme Customization ? ☎️ WhatsApp ✉️Email Skype: kof.bd

ImaniManyfield1
Shopify Partner
15 0 3
It doesn't give me a separate background option. Only where it says upload mobile image
kazi
Shopify Partner
716 100 126

remove the image block and css to the text block

 

.custom-block-banner.banner-large-img {
background-image: url(https://www.chetaraelements.com/cdn/shop/files/CHE_TARA_ELEMENTS_1370_x_600_px_691e443c-5d7e-4665-9a...);
padding: 323px 0px;
}

▶️ If you need more help with your Shopify store
Speed Optimization | Theme Customization ? ☎️ WhatsApp ✉️Email Skype: kof.bd

ZenoPageBuilder
Shopify Partner
1052 203 229

Hello @ImaniManyfield1 👋

Inside Shopify Admin, you can go to Edit theme code, open file theme-styles.css and add this code at the bottom

@media (max-width: 767px) {
#block-1760decd-15b6-4ee2-940b-5265dbb920a1-largeImg-1 .adaptive_height {
    padding-top: 100% !important;
}
}

The result on mobile

Screenshot 2023-12-31 at 09.55.54.png

Hope that helps! 

Zeno Page Builder - Build responsive & SEO-optimized Landing pages, Blog posts, Product pages and more...
Learn more at zenobuilder.com
ImaniManyfield1
Shopify Partner
15 0 3
This didn't work