Menus Stacked on mobile version

Solved
miltokas
Excursionist
15 0 4

Hi there,

I have a couple of bottom menus that in the desktop version are side by side nicely.

On the mobile version, probably because they don't fit, it put's them side by side.

Is there a way to squeeze both in the same row on the mobile version?

Thanks in advance for any help!

 

miltokas_0-1696348631740.png

 

Accepted Solution (1)
makkaomakka
Shopify Partner
918 181 191

This is an accepted solution.

Hi @miltokas ,

 

Can you add the updated CSS.

<style>
@media only screen and (max-width: 749px) {
     footer .footer__content-top {
         display: block!important;
    }
     footer .footer__blocks-wrapper.grid.grid--1-col.grid--2-col.grid--4-col-tablet {
         display: inline-grid!important;
         grid-template-columns: 1fr 1fr!important;
         gap: calc(3rem / var(--font-body-scale))!important;
         width: 100%!important;
    }
     footer .footer-block.grid__item.footer-block--menu {
         margin-top: 0px!important;
    }
     footer .footer__content-top.page-width {
         padding-left: calc(3rem / var(--font-body-scale));
         padding-right: calc(3rem / var(--font-body-scale));
    }
}

</style>

❤️❤️

Buy me a coffee


For quick response - Message Me


Increase Xmas sales with BOGO+ Easy Free Gift Upsell. Get 30% OFF for 3 months with code "BFWIZZ30".

View solution in original post

Replies 8 (8)
makkaomakka
Shopify Partner
918 181 191

Hi @miltokas ,

 

Can you please provide me with the link to your site so that i can review and provide updates accordingly.

 

Thannk you

❤️❤️

Buy me a coffee


For quick response - Message Me


Increase Xmas sales with BOGO+ Easy Free Gift Upsell. Get 30% OFF for 3 months with code "BFWIZZ30".

miltokas
Excursionist
15 0 4
makkaomakka
Shopify Partner
918 181 191

Hi @miltokas ,

 

Please add below codes at the end of base.css file.

@media only screen and (max-width: 749px) {
  footer .footer__blocks-wrapper.grid.grid--1-col.grid--2-col.grid--4-col-tablet {
        display: grid!important;
        grid-template-columns: 1fr 1fr!important;
           gap: calc(3rem / var(--font-body-scale))!important;
        width: 100%!important;
    }
    
    footer .footer-block.grid__item.footer-block--menu {
        margin-top: 0px!important;
    }
    
    footer .footer__content-top.page-width {
        padding-left: calc(3rem / var(--font-body-scale));
        padding-right: calc(3rem / var(--font-body-scale));
    }
}

 

Verification:

makkaomakka_0-1696356194749.png

 

 

If you require further help to optimize your store, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!

 

Best Regards,
Mangit

❤️❤️

Buy me a coffee


For quick response - Message Me


Increase Xmas sales with BOGO+ Easy Free Gift Upsell. Get 30% OFF for 3 months with code "BFWIZZ30".

makkaomakka
Shopify Partner
918 181 191

Hi @miltokas 

 

The the provided code doesnot work and if this is a urgent task, you can message me on whats app. I will  go AFK for now.

❤️❤️

Buy me a coffee


For quick response - Message Me


Increase Xmas sales with BOGO+ Easy Free Gift Upsell. Get 30% OFF for 3 months with code "BFWIZZ30".

miltokas
Excursionist
15 0 4

Hi @makkaomakka 

Do you know what I have to change in the provided code to make it work?

Thanks a lot for your support!

makkaomakka
Shopify Partner
918 181 191

Hi @miltokas ,

 

You can add the below code codes at the end of theme.liquid

 

Code:

<style>
@media only screen and (max-width: 749px) {
  footer .footer__blocks-wrapper.grid.grid--1-col.grid--2-col.grid--4-col-tablet {
        display: grid!important;
        grid-template-columns: 1fr 1fr!important;
           gap: calc(3rem / var(--font-body-scale))!important;
        width: 100%!important;
    }
    
    footer .footer-block.grid__item.footer-block--menu {
        margin-top: 0px!important;
    }
    
    footer .footer__content-top.page-width {
        padding-left: calc(3rem / var(--font-body-scale));
        padding-right: calc(3rem / var(--font-body-scale));
    }
}
</style>

 

Steps to add CSS:

Step 1: Go to Online Store > Themes > Active theme > Edit

makkaomakka_0-1696476614236.png

 

 

Step 2: Search for "theme.liquid"

makkaomakka_1-1696476614201.png

 

 

Step 3: Add the CSS above "</head>"

makkaomakka_2-1696476614211.png

 

 

If you require further help to optimize your store, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!

 

Best Regards,
Mangit

❤️❤️

Buy me a coffee


For quick response - Message Me


Increase Xmas sales with BOGO+ Easy Free Gift Upsell. Get 30% OFF for 3 months with code "BFWIZZ30".

miltokas
Excursionist
15 0 4

Hi @makkaomakka 

First of all thanks a lot for your support!

I think we are getting closer, what I meant is that the two columns (1) should be  side by side and the subscribe to our emails underneath taking the full length.  

 

miltokas_0-1696507253781.png

miltokas_1-1696507507463.png

 

 

 

makkaomakka
Shopify Partner
918 181 191

This is an accepted solution.

Hi @miltokas ,

 

Can you add the updated CSS.

<style>
@media only screen and (max-width: 749px) {
     footer .footer__content-top {
         display: block!important;
    }
     footer .footer__blocks-wrapper.grid.grid--1-col.grid--2-col.grid--4-col-tablet {
         display: inline-grid!important;
         grid-template-columns: 1fr 1fr!important;
         gap: calc(3rem / var(--font-body-scale))!important;
         width: 100%!important;
    }
     footer .footer-block.grid__item.footer-block--menu {
         margin-top: 0px!important;
    }
     footer .footer__content-top.page-width {
         padding-left: calc(3rem / var(--font-body-scale));
         padding-right: calc(3rem / var(--font-body-scale));
    }
}

</style>

❤️❤️

Buy me a coffee


For quick response - Message Me


Increase Xmas sales with BOGO+ Easy Free Gift Upsell. Get 30% OFF for 3 months with code "BFWIZZ30".