Solved

Urgent! fix footer on mobile version

IraKarpova
Tourist
18 0 1

Hello!

I really need your help super urgent. My footer on mobile version moved to the side, put the border. It happened because a few months ago I wanted to make my footer in one line and add some code, but don't remember what exact and where I've add it.

Now I need to fix it and to make my footer on mobile normal.

 

Please!

Below I'm adding screenshots

My website link: https://www.karpovastudio.com/

Знімок екрана 2024-03-18 о 17.19.54.png

Знімок екрана 2024-03-18 о 17.19.58.png

  

Accepted Solution (1)

Sweet_Savior_3
Shopify Partner
1040 82 93

This is an accepted solution.

Hello @IraKarpova 

 

Welcome to Shopify Community.

 

Please add the CSS in base.css file:

@media screen and (max-width: 767px) {
body .footer__blocks-wrapper.grid.grid--1-col.grid--2-col.grid--4-col-tablet {
flex-wrap: wrap !important;
}
body .footer-block.grid__item, 
body .footer-block__details-content {
margin-top: 1rem;margin-bottom: 0;margin-top: 1rem;
}
}

 

OUTPUT:

Sweet_Savior_3_0-1710776335375.png

 

Thanks

Don't forget to like and accept the solution to help others store owners.
Looking for an expert for your store ? Hire Me
Have any queries ? Send Here
From Less To Further !!!

View solution in original post

Replies 6 (6)

techlyser_web
Shopify Partner
1404 262 276

Hello @IraKarpova 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
@media screen and (max-width: 767px){
  .footer-block__details-content {
     margin-bottom: unset !important;
 }
 .footer__blocks-wrapper.grid.grid--1-col.grid--2-col.grid--4-col-tablet {
       flex-direction: column !important;
      align-items: center !important;
      justify-content: center !important;
 }
 .footer-block.grid__item {
     margin: unset !important;
  }
}
</style>

techlyser_web_0-1710776201800.png

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Techlyser || Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
IraKarpova
Tourist
18 0 1

Thank you!!! xx

Sweet_Savior_3
Shopify Partner
1040 82 93

This is an accepted solution.

Hello @IraKarpova 

 

Welcome to Shopify Community.

 

Please add the CSS in base.css file:

@media screen and (max-width: 767px) {
body .footer__blocks-wrapper.grid.grid--1-col.grid--2-col.grid--4-col-tablet {
flex-wrap: wrap !important;
}
body .footer-block.grid__item, 
body .footer-block__details-content {
margin-top: 1rem;margin-bottom: 0;margin-top: 1rem;
}
}

 

OUTPUT:

Sweet_Savior_3_0-1710776335375.png

 

Thanks

Don't forget to like and accept the solution to help others store owners.
Looking for an expert for your store ? Hire Me
Have any queries ? Send Here
From Less To Further !!!
IraKarpova
Tourist
18 0 1

Thank you sooo much! it worked

Made4uo-Ribe
Shopify Partner
5376 1298 1588

Hi @IraKarpova 

Check this one. 

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "Assets" folder, click on "Section-footer.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

@media screen and (max-width: 767px){
.footer__blocks-wrapper.grid.grid--1-col.grid--2-col.grid--4-col-tablet {
     flex-wrap: wrap !important;
}
.footer-block.grid__item {
    margin: 0px !important;
}

.footer-block__details-content {
    margin-bottom: 2rem;
}
}

 

 And Save. 

Result:

Made4uoRibe_0-1710777348957.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


IraKarpova
Tourist
18 0 1

Thank you!! Your option also worked! If someone would have the same problem Irecoment also consider your ways of solving this problem! Thanks a lot