Fix Sizing Of Text For Mobile View Using Custom CSS

Hello,

I am new on shopify, and I thought its automatically optimized when screen size changes.

I need help in font size of banner title and a text underneath

How can I set a smaller size on a mobile?

lustrellc

Add this css in your edit code > theme.css File

@media screen and (max-width: 700px) {
    .section-blends .prose em {
        font-size: 24px;
    }
    .section.section-blends.section-full {
        padding-block: 8px;
    }
    .slideshow__slide .place-self-center .h4 {
        font-size: 20px;
    }
}
.section-blends .prose em {
    font-size: 32px;
}
.section.section-blends.section-full {
    padding-block: 20px;
}

hello, unfortunately it did not work

Check Again Becuse My Side This code work perfectly work.

add This css in theme.css File Code

@media screen and (max-width: 700px) {
    .section-blends .prose em {
        font-size: 24px;
    }
    .section.section-blends.section-full {
        padding-block: 8px;
    }
    .slideshow__slide .place-self-center .h4 {
        font-size: 20px;
    }
}
.section-blends .prose em {
    font-size: 32px;
}
.section.section-blends.section-full {
    padding-block: 20px;
}

See Screenshot Deskop View:->

See Screen mobail view:->

no its not working,

can I add it in custom css part?

Try It,

did not work

I Add Few Changes,

Again Try

@media screen and (max-width: 700px) {
    .section-blends .prose em {
        font-size: 24px !important;
    }
    .section.section-blends.section-full {
        padding-block: 8px !important;
    }
    .slideshow__slide .place-self-center .h4 {
        font-size: 20px !important;
    }
}
.section-blends .prose em {
    font-size: 32px !important;
}
.section.section-blends.section-full {
    padding-block: 20px !important;
}