How can I remove a border line under my text columns on mobile?

Hi there,

I’m wondering if its possible to remove this line under my heading of the Text columns with images Block. It only appears on mobile.

Store is Pawcopets.co.uk

Thanks!

Hello There,

  1. In your Shopify Admin go to online store > themes > actions > edit code
  2. Find Asset >theme.css and paste this at the bottom of the file:
@media only screen and (max-width: 769px){
.section-header::after, .shopify-policy__title::after {
border-bottom: none!important;
}
}
1 Like

hello @thomasmrgn99

please Go to Online Store->Theme->Edit code then go to assets/theme.css ->paste below code at the bottom of the file.

@media screen and (max-width: 769px){
.template-index   .section-default .section-header::after, .template-index  .section-default .shopify-policy__title::after {
    border-bottom: transparent;
}
}
1 Like

@ZestardTech @Kinjaldavra Thanks I really appreciate your help.

By any chance do you know if it is possible to reduce the size of the images in the Text columns with image block?

hello @thomasmrgn99

please Go to Online Store->Theme->Edit code then go to assets/theme.css ->paste below code at the bottom of the file.

@media screen and (max-width: 769px){
.section-default .box .wrapper .grid .grid__item .media-wrapper.spacer-bottom{
    background-color: #f7f8fa;
}
.section-default .box .wrapper .grid .grid__item .media-wrapper.spacer-bottom img{
    width: 373px;
    margin: 0 auto;
}
 }
1 Like

@Kinjaldavra Thank you sir.. do you know if it’s possible to adjust the padding as they are out of place ?

hello @thomasmrgn99

can you please highlight of screenshot where to adjust the padding

Hi @Kinjaldavra

After reducing the size of the images in ‘text columns with image’ (Mobile view) thanks to your code

There is large blank space under the images now

I was wondering if it is possible to reduce this space

I hope I explained it well, thanks for the help

hello @thomasmrgn99

please Go to Online Store->Theme->Edit code then go to assets/theme.css ->paste below code at the bottom of the file.

@media screen and (min-width: 600px) and  (max-width: 776px) {
 .template-index  .section-default .media-wrapper.spacer-bottom {
     padding-top: 45% !important;
 }
}

@media screen and (min-width: 518px) and  (max-width: 600px) {
 .template-index  .section-default .media-wrapper.spacer-bottom {
    padding-top: 50% !important;
 }
}
@media screen and (min-width: 406px) and  (max-width: 519px) {
 .template-index  .section-default .media-wrapper.spacer-bottom {
   padding-top: 65% !important;
 }
}
2 Likes

@Kinjaldavra Amazing thank you so much!

Is there an updated code and section for this? I do not see the “2. Find Asset >theme.css” under the edit code.