Minimize padding only for mobile version

Solved

Minimize padding only for mobile version

NikosBat
Trailblazer
447 1 92

Hello friends, how can I minimize the padding in this section only for mobile version?

 

Bildschirmfoto 2025-01-01 um 16.32.06.png

Accepted Solution (1)

DaisyVo
Shopify Partner
4402 488 581

This is an accepted solution.

Hi @NikosBat 

 

To complete your requests, please follow these steps:
  1. Go to Shopify Admin > Online Store > Theme > Customize > Theme Settings > Custom CSS https://prnt.sc/i8ljAMlHJUKl
  2. Paste the code provided into the Custom CSS section.

 

@media screen and (max-width: 768px){
.slider-buttons > button {
    height: 30px !important;
}
.collection-list-wrapper.page-width {
    padding-bottom: 0 !important;
}
ul.collection-list.contains-card {
    margin-bottom: 0 !important;
}
ul.collection-list.contains-card > li {
    padding-bottom: 0 !important;
}
ul.collection-list.contains-card > li > .card-wrapper.collection-card-wrapper .card.card--standard.card--media > .card__content .card__information {
    padding-bottom: 0 !important;
}
}

 

Here is the result: image_480.png

 

I hope this helps

Best,

 

Daisy

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution

View solution in original post

Reply 1 (1)

DaisyVo
Shopify Partner
4402 488 581

This is an accepted solution.

Hi @NikosBat 

 

To complete your requests, please follow these steps:
  1. Go to Shopify Admin > Online Store > Theme > Customize > Theme Settings > Custom CSS https://prnt.sc/i8ljAMlHJUKl
  2. Paste the code provided into the Custom CSS section.

 

@media screen and (max-width: 768px){
.slider-buttons > button {
    height: 30px !important;
}
.collection-list-wrapper.page-width {
    padding-bottom: 0 !important;
}
ul.collection-list.contains-card {
    margin-bottom: 0 !important;
}
ul.collection-list.contains-card > li {
    padding-bottom: 0 !important;
}
ul.collection-list.contains-card > li > .card-wrapper.collection-card-wrapper .card.card--standard.card--media > .card__content .card__information {
    padding-bottom: 0 !important;
}
}

 

Here is the result: image_480.png

 

I hope this helps

Best,

 

Daisy

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution