How to small the brand slider image in mobile view using ella theme.

Solved

How to small the brand slider image in mobile view using ella theme.

Gul2024
Tourist
4 1 1

Hi ,

      I recently working on brand slider using ella theme the issue is solved in Laptop view but not check in mobile view now check in mobile view the images are large. Is their another code is required for it?
Thank you
Mobile view

Gul2024_0-1727356764308.png
I already use these code
<style>
.brand-slider .halo-row.brand-layout--infinite .halo-item {
width: 160px !important;
}
</style>
<style>
@media (max-width: 551px) {
main .brand-slider .brand-layout--infinite.sm-column-1 .halo-item {
width: 80vw !important;
}
}
</style>

 

Accepted Solution (1)
Gul2024
Tourist
4 1 1

This is an accepted solution.

Sorry i was searching and it is relevant code
this code actual work perfect

<style>
@media (max-width: 551px) {
main .brand-slider .brand-layout--infinite.sm-column-1 .halo-item {
width: 130px !important;
}
}
</style>

View solution in original post

Replies 5 (5)

namphan
Shopify Partner
1329 164 199

Hi @Gul2024,

You just need to change the parameter here, for example 50vw, it will display well:

Screenshot.png

Coffee tips fuels my dedication.
Shopify Development Service
Need help with your store? [email protected]
Gul2024
Tourist
4 1 1

thank you it works

namphan
Shopify Partner
1329 164 199

Hi @Gul2024,

If you have any questions, you can contact me directly.

Nice to meet you 😊

Coffee tips fuels my dedication.
Shopify Development Service
Need help with your store? [email protected]
Gul2024
Tourist
4 1 1

This is an accepted solution.

Sorry i was searching and it is relevant code
this code actual work perfect

<style>
@media (max-width: 551px) {
main .brand-slider .brand-layout--infinite.sm-column-1 .halo-item {
width: 130px !important;
}
}
</style>

namphan
Shopify Partner
1329 164 199

Hi @Gul2024,

Yes, the parameter is just an example, so you can change it yourself

Coffee tips fuels my dedication.
Shopify Development Service
Need help with your store? [email protected]