We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Making accordions full width on mobile view (Dawn Theme)

Making accordions full width on mobile view (Dawn Theme)

bellevo
Pathfinder
91 0 24

Hey, I would like to know if its possible to make the accordions in my footer menu full width on mobile view. Any help would be appreciated!

My store: https://bellevodesign.com/

The issue: IMG_5360.jpeg

Replies 9 (9)

BSSCommerce-HDL
Shopify Partner
2305 835 907

Hi @bellevo

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag: 

 

<style>
 @media only screen and (max-width: 749px) {
    .footer__content-top {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
</style>

 

Here is result: 

BSSCommerceHDL_0-1721135007665.png

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

 

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

bellevo
Pathfinder
91 0 24

Hey, this moves all the text in the footer menu as well, is it possible to keep the text in the same position and only make the lines full width, thank you!

BSSCommerce-HDL
Shopify Partner
2305 835 907

Hi @bellevo

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag: 

 

 

<style>
@media screen and (max-width: 749px) {
    .footer__content-top {
        padding-bottom: 3rem;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .footer-block.grid__item:first-child {
       padding-left: 4rem !important;
       padding-right: 4rem !important;
    }
}
</style>

 

 

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

 

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

bellevo
Pathfinder
91 0 24

Hey it still moved the text to the left side.

IMG_5361.jpeg

Is there a way to keep the text like this?

 

IMG_5360.jpeg

BSSCommerce-HDL
Shopify Partner
2305 835 907

Hi @bellevo

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag: 

 

<style>
  @media screen and (max-width: 749px) {
    .footer__content-top {
        padding-bottom: 3rem;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .footer-block.grid__item:first-child {
       padding-left: 4rem !important;
       padding-right: 4rem !important;
    }
    
    h2.footer-block__heading {
      padding-left: 4rem !important; 
    }
     
    h2.footer-block__heading:after {
      right: 4rem !important;
    }
}
</style>

 

Here is result: 

BSSCommerceHDL_0-1721137336430.png

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

EcomGraduates
Shopify Partner
862 71 126

Add custom CSS: At the bottom of this file, add the following CSS:

@media (max-width: 767px) {
  .footer-menu-accordion {
    width: 100% !important;
    margin: 0;
  }
}

 Like + accept if this helped |
 Theme: EcomifyTheme |
️ Get An Audit: Here



bellevo
Pathfinder
91 0 24

Which file?

BSS-TekLabs
Shopify Partner
2401 695 836
@media screen and (max-width: 749px) {
    .footer__content-top {
        padding-bottom: 3rem;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

Can you try it @bellevo 

BSSTekLabs_0-1721135708513.png

 

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
bellevo
Pathfinder
91 0 24

Hey, which file should I add it to? I tried base.css but it didn't work. Thanks!