Dear,
Can anyone help me in adapting the position & alignment of a title on my homepage for the mobile version only?
On desktop it does what I want it to, but on mobile version it looks really big and not put right.
Thank you!
Dear,
Can anyone help me in adapting the position & alignment of a title on my homepage for the mobile version only?
On desktop it does what I want it to, but on mobile version it looks really big and not put right.
Thank you!
Hi @Christinahadi ,
Welcome to the Shopify community!
Share your store url with password.
https://contour-lab.myshopify.com/
No password needed
Hi @Christinahadi ,
@media only screen and(max-width:749px){
.banner__heading>*, .banner__text>* {
font-size: 4rem;
}
}
Add this css at the bottom of
Online Store->Theme->Edit code->Assets->section-image-banner.scss.liquid
Note : If your store is having this media already (for mobile version) then no need to add whole code . Only just add css in that media ie 749px(already exist)
Hmm, didn’t see any change in the text yet.
Would you know any other solution? Thank you!
Is there anyone that can help me please? Thank you!
This will change the font size on mobile devices, you can replace the 20px for any value you wish.
Kind regards,
Diego
Thank you Diego!
The font in my button doesn’t change with it..
Could you add some code for that too, please? Thanks!