Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Rearrange Footer on Mobile View in CRAFT Theme

Solved

Rearrange Footer on Mobile View in CRAFT Theme

BellesandBells
Shopify Partner
18 0 3

Hello, 

I am currently working on a client's website and am having some trouble with the footer in the Craft Theme. 

Is anyone able to please assist with coding to adjust the order of the footer when displayed on mobile? I'd like it to display as Newsletter, Menu, Menu, Brand Information (socials). It is currently Menu, Brand Information (socials), Menu, Newsletter)

 

The preview link is https://6q1u2kxrbdn5pgvn-65874886903.shopifypreview.com/

 

Thank you so much in advance. 

Accepted Solution (1)

Guleria
Shopify Partner
3688 741 1038

This is an accepted solution.

Hello @BellesandBells ,

 

Follow these steps:

1. Go to Online Store -> Theme -> Edit code

2. Open your base.css file and paste the following code at the bottom:

@media only screen and (max-width: 767px) {
.footer__content-top.page-width {
    display: flex;
    flex-direction: column;
}
.footer-block--newsletter {
    order: 0;
}
.footer__content-top.page-width  .footer__blocks-wrapper {
    order: 1;
}
.footer .footer__blocks-wrapper.grid {
    display: flex;
}
.footer-block.grid__item{
margin: 0 !important;
}
.footer .footer__blocks-wrapper.grid div:nth-child(2) {
    order: 3;
}
}

If problem solved don't forget to Like it and Mark it as Solution!
And if you need help with customization/code part you can contact me for services

You can find the email in the signature below.

 

Thanks

- Drop an email   if you are looking for quick fix or any customization
- Email: guleriathakur43@gmail.com Skype: live:navrocks1
- Try GEMPAGES a great page builder

View solution in original post

Replies 6 (6)

Guleria
Shopify Partner
3688 741 1038

This is an accepted solution.

Hello @BellesandBells ,

 

Follow these steps:

1. Go to Online Store -> Theme -> Edit code

2. Open your base.css file and paste the following code at the bottom:

@media only screen and (max-width: 767px) {
.footer__content-top.page-width {
    display: flex;
    flex-direction: column;
}
.footer-block--newsletter {
    order: 0;
}
.footer__content-top.page-width  .footer__blocks-wrapper {
    order: 1;
}
.footer .footer__blocks-wrapper.grid {
    display: flex;
}
.footer-block.grid__item{
margin: 0 !important;
}
.footer .footer__blocks-wrapper.grid div:nth-child(2) {
    order: 3;
}
}

If problem solved don't forget to Like it and Mark it as Solution!
And if you need help with customization/code part you can contact me for services

You can find the email in the signature below.

 

Thanks

- Drop an email   if you are looking for quick fix or any customization
- Email: guleriathakur43@gmail.com Skype: live:navrocks1
- Try GEMPAGES a great page builder
BellesandBells
Shopify Partner
18 0 3

Hi @Guleria 

Thank you so much, that worked perfectly!

Is there another bit of code I can add to adjust the line spacing between the newsletter and the first menu?

 

Screen Shot 2024-11-09 at 1.25.26 pm.png

 

Guleria
Shopify Partner
3688 741 1038

Try to use 

        margin-bottom: 24px;
- Drop an email   if you are looking for quick fix or any customization
- Email: guleriathakur43@gmail.com Skype: live:navrocks1
- Try GEMPAGES a great page builder
BellesandBells
Shopify Partner
18 0 3

Thank you @Guleria 

One last issue - is there any way to adjust the padding between the menus and the Copyright text on desktop view? I have attached a photo. 

 

Thank you!

Screen Shot 2024-11-09 at 2.11.21 pm.png

 

Guleria
Shopify Partner
3688 741 1038

Use this css

@media screen and (min-width: 767px){
.footer-block--newsletter.scroll-trigger.animate--slide-in {
    display: none;
}
}
- Drop an email   if you are looking for quick fix or any customization
- Email: guleriathakur43@gmail.com Skype: live:navrocks1
- Try GEMPAGES a great page builder
BellesandBells
Shopify Partner
18 0 3

Hi @Guleria 

This has removed the gap, however, it has also now removed the newsletter form. Can you please assist?